php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50043 PHP_SELF duplicates path again
Submitted: 2009-10-30 16:53 UTC Modified: 2009-10-30 17:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ahu at 52q dot net Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 5.2.11 OS: Windows xp sp3
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: ahu at 52q dot net
New email:
PHP Version: OS:

 

 [2009-10-30 16:53 UTC] ahu at 52q dot net
Description:
------------
PHP_SELF duplicates path again!!!!!!!

somebody had reported this problem servel years ago at http://bugs.php.net/bug.php?id=42523 
And at the end I saw you said you fixed it.But it appears again now.
How dispirited I am,when I spent a lot time search and search...from China to you here.:(

nginx/0.8.21+php5.2.11 on Windows XP sp3

Reproduce code:
---------------
phpinfo();

Expected result:
----------------
/phpinfo.php

Actual result:
--------------
/phpinfo.php/phpinfo.php

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-30 17:18 UTC] ahu at 52q dot net
It maybe the problem of nginx.
 [2010-08-07 20:42 UTC] kwils13 at gmail dot com
confirmed nginx issue. comment out SCRIPT_NAME in fastcgi_params.  Know however 
that will break some CMS systems like Joomla (see: 
http://forum.nginx.org/read.php?11,10324,10475 as it apparently needs both)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 20:01:35 2025 UTC