I am trying to get a PHP5 installation up and running on a Windows 2003 IIS6 server. I have followed the instructions on the following two sites:
http://www.adobe.com/devnet/dreamweaver/articles/php_iis.html#cgihttp://www.youtube.com/watch?v=17aAuMVippQI originally used the installer to install php5.2.5-win32-installer.m
si and installed the application to C:\Program FIles\PHP. I messed around with the instructions from the first link to install using CGI and not ISAPI and could not get anything to work.
so I uninstalled PHP5 via control panel add/remove programs interface, deleted the PHP installation directory, deleted the web service extension as well as the Application Extensions in web sites properties/home directory tab.
Once I had everything uninstalled, I followed the instructions on the youtube video to a T and thought that they would work; but still nothing.
when i try to execute a simple .PHP script that just calls the PHPINFO function, I get the following error when trying to access the test.php file from a remote PC:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
IF I open up a browser on the server itself and try to access the same test.PHP script, i get the same error.
I have tried everything and am pulling my hair out. Time to call in the experts!! :)
Any and all advice appreciated.
Start Free Trial