php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5150 Invalid URI in request GET when accessing a PHP script
Submitted: 2000-06-20 18:15 UTC Modified: 2000-09-03 19:40 UTC
From: sgeosits at att dot net Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Release Candidate 2 OS: Win 98 running Apache 1.3.12
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sgeosits at att dot net
New email:
PHP Version: OS:

 

 [2000-06-20 18:15 UTC] sgeosits at att dot 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.	










Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 04:59 UTC] sniper@php.net
Is this report still valid? 
One suggestion: try leaving that doc_root setting empty.

--Jani
 [2000-09-03 19:40 UTC] sniper@php.net
No feedback. Misconfiguration most propable reason..

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 10:00:01 2026 UTC