MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: kloxo-fan on 2014-05-13, 14:53:15

Title: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: kloxo-fan on 2014-05-13, 14:53:15
Is it a good idea for an updat? Apache HTTP Server from 2.2 to latest 2.4?
Can you tell me how it updated httpd-2.2.27 to httpd-2.4.9 because I can not.
I looked at the documentation in apache website for manual install but I got error with command './configure'.
...
checking for APR... no
configure: error: APR not found.  Please read the documentation.

And that's all  ;D
Can not continue.

In fact, httpd-2.4.9 will be compatible with KloxoMR and all websites?
Why all the components in KloxoMR are latest version but Apache is not?
Is there a problem with httpd-2.4.9?
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: MRatWork on 2014-05-13, 14:57:02
Apache 2.4.x need 'special' php where compiled for apache 2.4.x.

Sadly, no 'populair' repo serve this special php.
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: Spacedust on 2014-05-13, 18:02:38
What about remi ?
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: fossxplorer on 2014-05-14, 10:54:26
I've tried to hint Mustafa about the possibilities in another thread regarding SCL and multiple PHP versions, but here is the link to the blog with repo URLs:
http://developerblog.redhat.com/2014/04/08/apache-with-various-php-versions-using-scl/

So using COPR we might be able to get httpd24 into Kloxo-MR :)

Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: chrisf on 2014-05-18, 18:16:12
Mella provided the link, Mustafa you investigate?

They made multiple php look easy!  Apache 2.4 has many improvements over 2.2. It would be beneficial to upgrade.
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: MRatWork on 2014-05-19, 03:56:53
Remi not implementing 'branch' (like IUS do) for their php. It's hard to escape from conflict between different version of php.
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: chrisf on 2014-05-19, 17:14:41
I have been reading, what special php?  It appears if you run it through fast_cgi as we do (php-fpm) there are no conflicts.

Seems all conflicts are with mod_php only.  SO DISABLE IT.  I couldn't find one forum, post, anywhere that advises using it with Apache 2.4

The performance gains from 2.2 to 2.4 are noticeable and worth the upgrade..

Software moves forward, so must we. ;)
Title: Re: Apache HTTP Server from 2.2.x to latest 2.4.x
Post by: Spacedust on 2014-05-19, 21:18:45
Yes. We need upgrade to Apache 2.4 ;) Please note some .htaccess files will need to upgraded too !