|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10075 Exta path information beyond the PHP script won't work with CGI
Submitted: 2001-03-30 00:25 UTC Modified: 2002-05-30 07:19 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: brett at mad dot scientist dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.4pl1 OS: Win32, Linux, probably any
Private report: No CVE-ID: None
 [2001-03-30 00:25 UTC] brett at mad dot scientist dot com
In CGI mode calling a php script (playlist.php in example below) causes a 500 internal server error.

Calling this URL:
Causes a 500 error in CGI mode.  However, as a module PHP accepts this just fine.

Also note that calling the URL like this:
does NOT give this error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-26 07:18 UTC] a dot vanefferen at mediacom4 dot nl
Same problem on different platform:

-Win2k Server
-PHP as a CGI
-PHP 4.1.1
 [2002-05-30 07:19 UTC]
This is a limitation of the CGI interface. If you need this functionality, use PHP as a module.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 22:01:27 2024 UTC