PHP 4.0 Bug #5150 Updated: Invalid URI in request GET when accessing a PHP script
| From: | Bug Database | Date: | Sun, 03 Sep 2000 23:40:05 +0000 |
| Subject: | PHP 4.0 Bug #5150 Updated: Invalid URI in request GET when accessing a PHP script | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31871@lists.php.net to get a copy of this message | ||
ID: 5150
Updated by: sniper
Reported By: sgeosits@att.net
Status: Closed
Bug Type: Installation problem
Assigned To:
Comments:
No feedback. Misconfiguration most propable reason..
--Jani
Previous Comments:
[2000-08-17 04:59:54] sniper@php.net
Is this report still valid?
One suggestion: try leaving that doc_root setting empty.
--Jani
---------------------------------------------------------------------------
[2000-06-20 18:15:41] sgeosits@att.net
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5150