IIS not displaying PHP documents

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Sommer (john_at_mendipcomputing.co.uk)
Date: 02/16/05


Date: Wed, 16 Feb 2005 23:47:01 -0000

Hello.
On a previous server running 2000 Server with IIS 5.0 I was able to install
PHP 4 and configure IIS to use the PHP CGI to display PHP pages.

I now have 2003 Server, with IIS 6 installed. I allowed PHP 5 to
automatically configure IIS on installation, though when i call upon a valid
php file URL I get an Error 404 Not found.

HTML and ASP files work, so it isnt anything serious with the IIS
installation.

In Default Website > Properties > Home Directory > Configuration PHP is
properly listed in the Cache ISAPI extensions list with the correct CGI
path.

I also checked C:\WINDOWS\php.ini though it was full of instructions rather
than variables.

I added the entry "cgi.force_redirect = 0" which seemed to fix PHP on my
previous IIS 5 installation.

Please note: this was a fresh install, only a couple of days old. I can only
handle the more obvious parts of IIS and am a complete novice to PHP.

Thanks for any suggestions you might have.



Relevant Pages

  • Re: just installed XAMPP -- have one question...
    ... just posted a question in MySQL ng to find out more details about upgrading etc.. ... (also need to solve this port issue, so can use Tomcat, IIS, and XAMPP all w/o having to turn servers off an on all the time.. ... how do I "transfer" the db's that come w/PHP to this installation? ... driver-connection in PHP code.. ...
    (comp.lang.php)
  • Re: testing php on my home computer
    ... | my php. ... Ensure you have IIS installed and running, ... Read the installation instructions very carefully. ... In IIS create your virtual web folder. ...
    (alt.php)
  • Upgrade to 5.2 - how to?
    ... XP Pro and IIS 5.1. ... I would like to upgrade PHP to version 5.2. ... the current installation working properly. ...
    (alt.php)
  • Re: [PHP] "The page you are looking for cannot be displayed because the page address is incorre
    ... >> internet information services. ... You are using IIS ... the manual under the installation of the OS the php is ...
    (php.general)
  • ini_set(display_errors,true);
    ... IIS not showing PHP Errors? ... I'm learning PHP on my laptop for school and have IIS set up to run my ... I've run PHP on an Apache server before. ...
    (microsoft.public.inetserver.iis)