Re: HTTP 400 Bad Request
| From: | Oliver John V. Tibi | Date: | Wed, 30 Jun 2004 10:42:19 +0000 |
| Subject: | Re: HTTP 400 Bad Request | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24092@lists.php.net to get a copy of this message | ||
Hi.
In addition to Luis's comment, freshly installed WINDOWS XP Professional
machines default the installation directory to C:\WINDOWS.
Cheers.
O.J.
----- Original Message -----
From: "Luis Moreira" <luis.moreira@esinnovation.pt>
To: "Stephen Cassidy" <scassidy@aqa.org.uk>
Cc: <php-windows@lists.php.net>
Sent: Wednesday, June 30, 2004 4:47 PM
Subject: Re: [PHP-WIN] HTTP 400 Bad Request
> Stephen Cassidy wrote:
>
> >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
> >
> >
> >
> If you have taken a beginners courese last week, there is no need for
> going mad right now.
> 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