Edit report at https://bugs.php.net/bug.php?id=67541&edit=1

  ID: 67541
  Updated by: sixd@php.net
  Reported by: tyrael@php.net
  Summary: Fix Apache 2.4.10+ SetHandler proxy:fcgi://
  Status: Closed
  Type: Bug
  Package: FPM related
  PHP Version: 5.6.0RC1
  Assigned To: tyrael
  Block user comment: N
  Private report: N

  New Comment:

Some comments:

1. The original patch was recently modified. See https://github.com/php/php-src/pull/765

2. PHP 5.3 is for security releases only (and is about to have its final release ever) so this fix won't be merged to that branch.

Previous Comments:
[2014-07-21 08:40:43] reywob@php.net

I've also modified PHP 5.3.28 to use these changes and attached a patch for this.

[2014-07-21 08:39:48] reywob@php.net

The following patch has been added/updated:

Patch Name: Patch_for_PHP_5.3.28
Revision: 1405931988
URL: https://bugs.php.net/patch-display.php?bug=67541&patch=Patch_for_PHP_5.3.28&revision=1405931988

[2014-07-10 11:12:35] reywob@php.net

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
SCRIPT_NAME: /index.php
SCRIPT_FILENAME: /var/www/example.com/htdocs/index.php
PATH_INFO: /sample/test

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.

[2014-06-30 00:37:38] dz@heroku.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

  For Windows:


Thank you for the report, and for helping us make PHP better.


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


Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 9 | next ›
Discussion Overview
groupphp-bugs @
postedJun 30, '14 at 12:27a
activeSep 10, '14 at 2:21p



site design / logo © 2019 Grokbase