Windows Thread, Problem setting up PHP on IIS 6 in Technical; Hi,
I have setup an IIS webserver and installed PHP using these instructions ( How to install PHP 5.x on ...
7th October 2008, 06:22 PM #1
- Rep Power
Problem setting up PHP on IIS 6
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)
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.
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.
7th October 2008, 06:43 PM #2
8th October 2008, 11:35 AM #3
This article should point you in the right direction.
8th October 2008, 08:52 PM #4
- Rep Power
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
By Edu-IT in forum Web Development
Last Post: 23rd April 2009, 10:48 AM
Last Post: 27th May 2008, 02:32 PM
By dagza in forum Web Development
Last Post: 20th January 2008, 04:38 PM
By srochford in forum Windows
Last Post: 31st October 2007, 10:05 AM
By OutToLunch in forum Windows
Last Post: 5th February 2007, 03:19 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)