PHP 4.0 Bug #5150: Invalid URI in request GET when accessing a PHP script

From: Date: Tue, 20 Jun 2000 16:15:41 +0000
Subject: PHP 4.0 Bug #5150: Invalid URI in request GET when accessing a PHP script
Groups: php.dev 
Request: Send a blank email to php-dev+get-21846@lists.php.net to get a copy of this message
From: sgeosits@att.net Operating system: Win 98 running Apache 1.3.12 PHP version: 4.0 Release Candidate 2 PHP Bug Type: Installation problem Bug description: Invalid URI in request GET when accessing a PHP script I have recently installed the Apache web server and PHP4 on a Windows 98 platform. I am trying to run the script phpinfo.php through the which only contains: <? phpinfo() ?> The web brower displays the following message: Invalid URI in request GET /phpinfo.php HTTP/1.0 The apache error log contains: [Tue Jun 20 11:09:01 2000] [error] [client 127.0.0.1] Invalid URI in request GET /phpinfo.php HTTP/1.0 The apache access log contains: 127.0.0.1 - - [20/Jun/2000:11:09:01 -0400] "GET /phpinfo.php HTTP/1.0" 400 333 My scripts is located in c:/Apache/htdocs/phpinfo.php My Apache httpd.conf file has the following modifications/additions relating to PHP: ScriptAlias /php/ "c:/Apache/htdocs/" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps Action application/x-httpd-php "c:/php/php.exe" My PHP.ini file is in the c:/windows directory and contains the following modification/additions: include_path = doc_root = "c:/Apache/htdocs" I reviewed all of the documentation and FAQs on this site and others have not been able to find a resolution to my problem. Thanks.

« previous php.dev (#21846) next »