|  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
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
 [2009-10-30 16:53 UTC] ahu at 52q dot net
PHP_SELF duplicates path again!!!!!!!

somebody had reported this problem servel years ago at 
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:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


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:,10324,10475 as it apparently needs both)
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Aug 02 16:01:24 2021 UTC