Bug #67541 [Com]: Fix Apache 2.4.10+ SetHandler proxy:fcgi:// incompatibilities
| From: | reywob@php.net | Date: | Thu, 10 Jul 2014 11:12:36 +0000 |
| Subject: | Bug #67541 [Com]: Fix Apache 2.4.10+ SetHandler proxy:fcgi:// incompatibilities | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186553@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67541&edit=1
ID: 67541
Comment by: reywob@php.net
Reported by: tyrael@php.net
Summary: Fix Apache 2.4.10+ SetHandler proxy:fcgi://
incompatibilities
Status: Closed
Type: Bug
Package: FPM related
PHP Version: 5.6.0RC1
Assigned To: tyrael
Block user comment: N
Private report: N
New Comment:
I can confirm this patch works. I'm using Apache 2.4.9 from
[ppa:ondrej/apache2](https://launchpad.net/~ondrej/+archive/ubuntu/apache2) with
[mod_proxy_handler](https://gist.github.com/progandy/6ed4eeea60f6277c3e39) manually compiled.
So others can verify my findings I've posted my test script at https://gist.github.com/pbowyer/bba54cbf01cf6b250c71.
# Results
Under PHP 5.6.0RC2:
```
PHP Version: 5.6.0RC2
ORIG_SCRIPT_NAME:
SCRIPT_NAME: /index.php
ORIG_SCRIPT_FILENAME:
SCRIPT_FILENAME: /var/www/example.com/htdocs/index.php
PATH_INFO: /sample/test
ORIG_PATH_INFO:
```
Under all previous versions of PHP (tested 5.5.10 and 5.3.28):
```
File not found.
```
I would love to see this backported as far as PHP 5.3. If not, I'm going to have to manually
patch my 5.3 builds.
Previous Comments:
------------------------------------------------------------------------
[2014-06-30 00:37:38] dz at heroku dot com
http://thread.gmane.org/gmane.comp.php.devel/87736
/ http://thread.gmane.org/gmane.comp.php.devel/87965
------------------------------------------------------------------------
[2014-06-30 00:32:25] 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.
------------------------------------------------------------------------
[2014-06-30 00:27:22] tyrael@php.net
Description:
------------
See the discussion at http://www.serverphorums.com/read.php?7,956732
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67541&edit=1