uraknai Posted October 7, 2008 Posted October 7, 2008 Hi, 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: HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application. Internet Information Services (IIS) (see http://www.lordswoodgirls.co.uk/test.php) I typed php -v in the command prompt and got the message: 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 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. Could someone please help with this problem. I'm at a complete loss. Thanks
FN-GM Posted October 7, 2008 Posted October 7, 2008 follow this and you should be fine Installing PHP5 on Windows 2003 and IIS6 | PHP | Web Technologies- VideoTutorialZone.com Z
Michael Posted October 8, 2008 Posted October 8, 2008 This article should point you in the right direction.
uraknai Posted October 8, 2008 Author Posted October 8, 2008 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:)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now