Conversation
…41, fixes bug 67606
|
I will merge this before tagging the RC4 later today if nobody objects. /cc @jpauli |
|
If this fixes something, I have no objection :-) |
|
I've merged it. |
|
Whoop 👍 Now we should get it backported to 5.5 and 5.4 soon, eh, @jpauli ? :) |
|
Was the original patch (introducing the bug) merged against 5.5 ? I'm not sure about this. |
|
@jpauli nope, the decision was to only merge it to 5.6 and backport it later. and @dzuelke seems to think that the revisited patch(eg. this pull request) is ready to be backported. |
|
Ok. But isn't the current discussion about a fix for a commit that has not been applied to 5.5 ? |
|
@jpauli |
|
Yep OK I see. Thx for refreshing my mind which often needs refreshing. |
|
Yup, exactly; the new fix (this whole thing addresses mod_proxy_fcgi issues) is a lot less intrusive as it keeps the stuff I originally removed in place, but skips them if mod_proxy_fcgi is detected (and for that it relies on routines that were already there for mod_proxy_fcgi handling). This patch is much safer, but I agree it's still a good idea to have it in 5.6.0RC4 before thinking about merges to 5.5/5.4 for final validation it fixes the breakage mod_fastcgi saw since RC2 (I know it does, I tested that part this time, but better safe than sorry :)) |
|
@Tyrael or @jpauli, can you close https://bugs.php.net/bug.php?id=67606 please? |
|
I closed it |
|
No, @Freeaqingme, but I think the change will/should get merged to 5.5 and 5.4 soon; Apache with /cc @jpauli @Tyrael @smalyshev |
|
For what it's worth, applying the patch didn't yield any changes for me. Instead I've now used a PHP script that's included via the auto_prepend_file directive with the following contents, which seems to work: |
The fix for #694 / http://bugs.php.net/67541 broke Apache with mod_fastcgi, this restores compatibility.
This change puts the old
PATH_TRANSLATEDworkarounds back in place so everything works like before, and adds a check for the new mod_proxy_fastcgi stuff (which breaks in certain cases with these workarounds) to skip the workarounds (by checkingapache_was_here, which is set in case it's mod_proxy_fcgi).Fixes bug http://bugs.php.net/67606.