|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74893 SCRIPT_NAME and PHP_SELF incorrectly set
Submitted: 2017-07-10 17:50 UTC Modified: 2017-07-11 08:36 UTC
Avg. Score:3.3 ± 1.7
Reproduced:2 of 3 (66.7%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: php at webstyle dot ch Assigned:
Status: Not a bug Package: FPM related
PHP Version: 5.6.31 OS: FreeBSD 10.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php at webstyle dot ch
New email:
PHP Version: OS:


 [2017-07-10 17:50 UTC] php at webstyle dot ch
Under 5.6.31's (and 7.0.21's) FPM, SCRIPT_NAME and PHP_SELF are incorrectly set to "/index.php" rather than "/admin/phpinfo/index.php". Under mod_fcgid or 5.6.30/7.0.21 it properly works. SCRIPT_FILENAME is still properly set, also under the newest FPM.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-11 08:20 UTC] php at webstyle dot ch
-Status: Open +Status: Closed
 [2017-07-11 08:20 UTC] php at webstyle dot ch
Please do no longer mind. It's indeed an Apache 2.4.26 Bug:
 [2017-07-11 08:36 UTC]
-Status: Closed +Status: Not a bug
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 00:03:13 2021 UTC