Jump to content

PHP 5.2 on Win XP Pro IIS 5.1


Recommended Posts

I have installed PHP 5.2 on a WinXP Pro/IIS 5.1 server.  I followed the installation instructions for manual install, but couldn't get it to work.  I uninstalled PHP and downloaded the windows installer (CGI) version.  It installed good and configured my IIS OK, but when I try to view my test file in IE using http//localhost/phpinfo.php I get 404 error.  If I browse the phpinfo.php using my web address instead of "localhost" (using something like http://www.mydomainname.com/phpinfo.php) I get the correct PHP info screen.  Why doesn't the "localhost" work?

Link to comment
Share on other sites

How can you tell where localhost is pointing?  (I also tried typing into my browser 127.0.0.1/phpinfo.php and it didn't see it either).  IIS is set up with c:\Inetpub\wwwroot as the home directory.

 

Anyway, how important is it that localhost sees this file?  Apparently my PHP is installed and running correctly or I would not get the info screen at all.  I have MySQL installed also and it is working.  I want to be able to communicate with MySQL through PHP in a web setting. 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.