Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565348 - www-servers/apache-2.4.17 breaks a lot of PHP apps due to variable changes
Summary: www-servers/apache-2.4.17 breaks a lot of PHP apps due to variable changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://bz.apache.org/bugzilla/show_b...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2015-11-10 09:21 UTC by Hanno Böck
Modified: 2015-12-14 08:27 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2015-11-10 09:21:53 UTC
Apache upstream did some changes that cause the PHP variables (e. g. SCRIPT_NAME) to contain different values with 2.4.17 which breaks a lot of applications.

Upstream bug:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57785

Upstream commit that introduced this problem:
https://mail-archives.apache.org/mod_mbox/httpd-cvs/201505.mbox/%3C20150504220514.E8DA3AC010F@hades.apache.org%3E

I'd propose to either revert the upstream commit or mask the packages until upstream fixes this issue somehow.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-10 09:38:00 UTC
commit b79cca357bd3cd109e44a6c451a5443770f5fb2d
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Nov 10 10:35:44 2015

    package.mask: Masked =www-servers/apache-2.4.17 (bug #565348).

    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


Let's keep this bug open until a fixed version >2.4.17 is in the tree.
Comment 2 Hanno Böck gentoo-dev 2015-12-05 13:27:05 UTC
For my servers I've now backported the fix from apache and use 2.4.17. In case anyone's interested, ebuild + patch:
https://svn.schokokeks.org/repos/overlay/trunk/www-servers/apache/

The patch is just the upstream commit minus doc changes.

(I leave it up to the apache maintainers whether we want to push this into the portage tree or just wait for 2.4.18)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-14 08:27:46 UTC
I've added apache-2.4.18 to the tree and removed 2.4.17. Let's see if that new version behaves better.