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
https://forums.phpfreaks.com/topic/37623-php-52-on-win-xp-pro-iis-51/
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. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.