WL: httpd 2.4 (httpd24u)

Bug #1404930 reported by Carl George
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IUS Community Project
Fix Released
Undecided
Unassigned

Bug Description

Imported from: https://answers.launchpad.net/ius/+question/259288
--------------------------------------------------------------------------

Hello IUS!

I am requesting an Apache 2.4 package for CentOS 6. I am happy to test this if needed.

Thanks and Happy Holidays!

Tags: wishlist
Revision history for this message
Carl George (carl.george) wrote :

Howdy Brian,

Here is our new package process.

1. Is it a good fit for IUS?
2. Is it maintainable with our current resources?
3. After building the package, is the requester willing to test the package to ensure expected behavior?

Looks like a "yes" to one and three. Let me start the porting work to determine how many dependencies we will also have to build. At the very least it will require a newer version of the apr package. I'll keep you posted.

Revision history for this message
Carl George (carl.george) wrote :

Hey Brian,

I have built apr15u-1.5.1-1.ius and apr15u-util-1.5.4-1.ius. They are in the development repos. I'm still working through the httpd spec file. There are considerable changes between el6, el7, and Fedora.

Revision history for this message
Carl George (carl.george) wrote :

I've made some progress on this, even to the point of finishing some initial RPMs. However, when starting httpd I ran into this error.

Starting httpd: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.modules.d/00-lua.conf: Cannot load modules/mod_lua.so into server: /etc/httpd/modules/mod_lua.so: undefined symbol: apr_bcrypt_encode

Commenting out that line allows it to start. I don't yet fully understand the implications of this; it will take more investigation.

Revision history for this message
Carl George (carl.george) wrote :

It appears the RPMs I built before still linked against the stock apr somehow. Explicitly requiring apr>=1.5.0 seems to have corrected the issue. I can install httpd24u, chkconfig it on, and start it up.

However, I'm noticing a different issue now. With the development repos enabled, I can't install the stock httpd. It seems yum is getting confused by having multiple pacakges provide apr-util-ldap. I need to poke around with the conflicts some more to see if I can clean up this behavior.

summary: - WL: httpd 2.4
+ WL: httpd 2.4 (httpd24u)
Revision history for this message
Carl George (carl.george) wrote :

I found that having something else provide "httpd" can cause issues with the following IUS packages.

# repoquery --disablerepo=* --enablerepo=ius --whatrequires httpd
apcu-panel55u-0:4.0.7-2.ius.centos6.noarch
apcu-panel56u-0:4.0.7-3.ius.centos6.noarch
php54-0:5.4.36-1.ius.centos6.x86_64
php55u-0:5.5.20-1.ius.centos6.x86_64
php56u-0:5.6.4-1.ius.centos6.x86_64
python27-mod_wsgi-0:4.4.2-1.ius.centos6.x86_64
python32-mod_wsgi-0:4.4.2-1.ius.centos6.x86_64
python33-mod_wsgi-0:4.4.2-1.ius.centos6.x86_64

I have opened the following bugs that will need to get resolved before we can proceed.

https://github.com/iuscommunity-pkg/php55u-pecl-apcu/issues/1
https://github.com/iuscommunity-pkg/php56u-pecl-apcu/issues/1
https://github.com/iuscommunity-pkg/python27-mod_wsgi/issues/1
https://github.com/iuscommunity-pkg/python32-mod_wsgi/issues/1
https://github.com/iuscommunity-pkg/python33-mod_wsgi/issues/1
https://github.com/iuscommunity-pkg/php54/issues/3
https://github.com/iuscommunity-pkg/php55u/issues/14
https://github.com/iuscommunity-pkg/php56u/issues/7

description: updated
Revision history for this message
Brian King (inflatador) wrote :

I can confirm that the http24u package is working on CentOS 6, and with PHP using a UNIX socket.

Revision history for this message
Brian King (inflatador) wrote :

er....with PHP-FPM, using a UNIX socket, that is. Will test using PHP-FPM and TCP shortly.

Revision history for this message
Brian King (inflatador) wrote :

PHP-FPM and TCP sockets work as well. Thanks Carl.

Revision history for this message
Carl George (carl.george) wrote :

We will move this package to the stable repos tonight. It may take up to 24 hours to sync to all mirrors.

Changed in ius:
status: New → Fix Released
Revision history for this message
Carl George (carl.george) wrote :

For the record, we are not going to start building mod_php against httpd24u. The feedback we have received is that the preferred php solution is fpm, which works well with this package. Trying to build multiple mod_php packages for every combination of stock/IUS php/httpd would not be feasible. Using fpm provides a very simple solution. We will continue to build and maintain our existing mod_php packages that build against stock httpd.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.