Bug #65641 [PATCH]: PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
| From: | remi@php.net | Date: | Mon, 15 Sep 2014 09:13:22 +0000 |
| Subject: | Bug #65641 [PATCH]: PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-187538@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65641&edit=1
ID: 65641
Patch added by: remi@php.net
Reported by: ryotakatsuki at gmail dot com
Summary: PHP-FPM incorrectly defines the SCRIPT_NAME variable
when using Apache
Status: Re-Opened
Type: Bug
Package: FPM related
PHP Version: 5.5.3
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: Another_fix_for_mod_proxy_fcgi_v2.patch
Revision: 1410772401
URL: https://bugs.php.net/patch-display.php?bug=65641&patch=Another_fix_for_mod_proxy_fcgi_v2.patch&revision=1410772401
Previous Comments:
------------------------------------------------------------------------
[2014-09-05 13:14:49] remi@php.net
The following patch has been added/updated:
Patch Name: Another_fix_for_mod_proxy_fcgi.patch
Revision: 1409922889
URL: https://bugs.php.net/patch-display.php?bug=65641&patch=Another_fix_for_mod_proxy_fcgi.patch&revision=1409922889
------------------------------------------------------------------------
[2014-06-30 00:42:06] dz at heroku dot com
https://bugs.php.net/bug.php?id=67541 is the
related issue for the (now merged) PR
------------------------------------------------------------------------
[2014-06-30 00:21:09] tyrael@php.net
reopening as https://github.com/php/php-src/pull/694 only
resolves this when using mod_proxy_handler.
------------------------------------------------------------------------
[2014-06-29 23:04:37] tyrael@php.net
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
I've merged it into the PHP-5.6 branch, should be in RC2.
------------------------------------------------------------------------
[2014-05-31 11:16:28] dz at heroku dot com
I can confirm this patch (I used fix_script_name_in_fpm_with_apace_fixed) fixes the issue as
described.
This is pretty critical for Apache 2.4 deployments with PHP-FPM; things are just broken otherwise...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65641
--
Edit this bug report at https://bugs.php.net/bug.php?id=65641&edit=1