Stephen Cassidy wrote:
If you have taken a beginners courese last week, there is no need for going mad right now.Hi all, I am fairly new to this (attended a beginners course last week) and I have been asked to install PHP on or 4 web servers (spread over 4 sites), all the servers are exactly the same running Windows XP and IIS 5.
I downloaded the latest PHP 4.3.7 and managed to install it perfectly on 3 of the servers the last one that I tried all seemed to install correctly but I keep getting HTTP error 400 Bad request. Someone suggested going to the C:\PHP directory and creating a php document in there called test.php with <?phpinfo();?> to test I did this and PHP is working so I am baffled now. The only difference I can see with the output of the file on a working server and the one that is not working is the Configuration File (php.ini) Path on the server that is not working this is set to "C:\Documents and Settings\administrator.INTERNAL\WINDOWS\php.ini " and the one that works "C:\WINNT\php.ini ". Where is the path set? I installed PHP one each server using the same logon account?
I hope someone can help as this is starting to drive me mad.
Thanks
Stephen
Give it a day or two...
From the Install notes : Copy the file, php.ini-dist to your %WINDOWS% directory on Windows 95/98 or to your %SYSTEMROOT% directory under Windows NT, Windows 2000 or Windows XP and rename it to php.ini. Your %WINDOWS% or %SYSTEMROOT% directory is typically: c:\windows for Windows 95/98 c:\winnt or c:\winnt40 for NT/2000/XP servers
Try to move the PHP.ini file to c:\winnt on the non-working system and retry.
Luis
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php