hello and thanks in advance for any help

I had to reload my windows 2000 adv server system and i am trying to get my .php applications up and running on IIS.

I have downloaded the PHP 5.3 zip and install packages and unzipped to c:\PHP directory. I have renamed the file to the php.ini. I have also modified the extension_dir to c:\PHP\ext

I have added the c:\PHP to the Path under Internet Information Services and I have also added the .php extension under the website that i am trying to run pointing to the c:\php\php.exe file

However, when i run my PHP Info script located at http://www.bwcweb.com/hello.php it does not run and comes up with a CGI headers script issue.

I have searched and searched and performed all updates and fixes as stated but i haven't been able to get this to work for the life of me. I am so frustrated.

    Windows 2000 server, eh? Been a while since I've seen one of those beasts... :p

    Does Windows Server 2k use IIS 5.0 or 6.0? The recommended method of integrating PHP with IIS is now to use the FastCGI extension to call php.exe. The instructions for IIS 6.0 can be found here (I suspect the installation procedure would be quite similar to IIS 5.0, though).

    banbear wrote:

    I have added the c:\PHP to the Path under Internet Information Services

    What do you mean by this? One of the steps to installing PHP is to add the PHP directory to your system's PATH environment variable... is that what you're referring to? If so, this variable is not configured in the IIS admin console...

    EDIT: Also noticed that the article I linked to above does indeed mention IIS 5.1, so I'd give that a shot.

    EDIT2: See this FAQ in the PHP manual for more information about adding the PHP directory to your system's PATH environment variable (a necessary step!).

      Write a Reply...