follow this and you should be fine
Installing PHP5 on Windows 2003 and IIS6 | PHP | Web Technologies- VideoTutorialZone.com
I have setup an IIS webserver and installed PHP using these instructions (How to install PHP 5.x on Windows Server 2003 with IIS 6)
I followed the instructions exactly but the webserver wont load .php files giving the error message:
(see http://www.lordswoodgirls.co.uk/test.php)Code:HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application. Internet Information Services (IIS)
I typed php -v in the command prompt and got the message:
Which, I assume, shows that PHP is successfully installed on the computer but for some reason the IIS webserver doesn't know what to do with php files.Code:C:\Documents and Settings\Administrator.LORDSWOODGIRLS>php -v PHP 5.2.6 (cli) (built: May 2 2008 18:02:07) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Could someone please help with this problem. I'm at a complete loss.
Thanks guys. Got it working.
I think the problem was that I set the environment variable to C:/PHP. I copied the php.ini file to C:/WINDOWS and it seemed to sort it. Don' really know why that should've caused a problem but it's working now
There are currently 1 users browsing this thread. (0 members and 1 guests)