Red Hat Bugzilla – Bug 147420
PATCH: Support for httpd v2.1 / APR v1.1
Last modified: 2007-11-30 17:07:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
The attached patch allows PHP to be built against APR v1.1 or httpd
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 110759 [details]
Patch to detect APR v1 as well as APR v0
Thanks for the report. APR 1.1 is not supported in RHEL3; rebuilding
the PHP source RPM against APR 1.1 is not supported either.
APR v1.1 is ASF supported (as in "I make sure it works") on RHEL3, as
does httpd v2.1.
PHP is a big showstopper - wasted a good 5 hours last night making PHP
v5.0.3 work. Getting it to behave properly with APR v1.1 and httpd
v2.1 will ease the transition from httpd v2.0 to v2.1 on existing well
deployed platforms on RHEL3.
Yes, but it's not supported by Red Hat. The point is that patching
the RHEL3 source RPMs just so that they can be rebuilt against the
latest versions of random components would be a maintenance nightmare.
The trouble is this moves the maintenance nightmare to the user. This
is the driving force behind incorporating RPM spec files into ASF
projects - so that people can run the latest code if that is what
their requirements dictate. From a user perspective I am happy to
manually support certain key packages on a system myself, leaving
support for the rest of the packages up to Redhat Network.
In this case APR v1.1 installed into RHEL3 from ASF RPM without any
problems, as did httpd. It was only when we got to PHP that the
problems started in earnest. As PHP is a potential showstopper for
deployment of httpd v2.1 (and v2.2), my next mission will be to
somehow include spec files into the PHP project.