SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    WAMP Server Not Processing the php file

    Hello,

    i installed wamp server, but when i try to process the index.php file, it just prompt for downlod the file insted of processing it

    i set the max exection time in php.ini to 1000 and restarted the service. but no help

    pls.

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    af,

    Did you target the correct location with the WAMP directory (htdocs)? Did you tell the WAMP installation to install PHP, too? Is it any wonder I love the Kevin Yank approach to installing daemons rather than relying on "canned apps" (albeit I've been told that he's now leaning toward the "canned apps")?

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,195
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by afridy View Post
    when i try to process the index.php file ...
    How are you doing that?

  4. #4
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    How are you doing that?
    i issue localhost/index.php or just localhost

  5. #5
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by dklynn View Post
    af,

    Did you target the correct location with the WAMP directory (htdocs)? Did you tell the WAMP installation to install PHP, too? Is it any wonder I love the Kevin Yank approach to installing daemons rather than relying on "canned apps" (albeit I've been told that he's now leaning toward the "canned apps")?

    Regards,

    DK
    yahyah, i changed the document root path in two places in httpd.conf as :

    <Directory "D:\sites\mysite">
    DocumentRoot "D:\sites\mysite"


  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,195
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by afridy View Post
    i issue localhost/index.php or just localhost
    What about this?

    Code:
    http://localhost:8888/index.php

  7. #7
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,025
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    You've possibly placed the file in the wrong place perhaps, with the version of wamp that I'm using, there is a folder called "www", each site or project has it's own folder in the "www" folder. Say within the "www" folder there was a folder called "wiki" (which would contain probably MediaWiki), to access the mediawiki the address that I would enter into the browser address bar would be http://localhost/wiki/
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  8. #8
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hai folks,
    i am currently aways from the server in question. ill check your suggession once i get back to the server today. Thanks for your valuable time.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •