[arch-general] [arch-dev-public] Upgrading Apache to 2.4

Anatol Pomozov anatol.pomozov at gmail.com
Mon Mar 10 14:46:33 EDT 2014


On Mon, Mar 10, 2014 at 11:41 AM, geralt at gmail.com <geralt at gmail.com> wrote:
> On Mon, Mar 10, 2014 at 7:21 PM, Anatol Pomozov <anatol.pomozov at gmail.com>wrote:
>> Hi
>> On Fri, Mar 7, 2014 at 1:10 AM, Sebastiaan Lokhorst
>> <sebastiaanlokhorst at gmail.com> wrote:
>> > Thanks for taking the effort to finally update Apache!
>> >
>> > When trying to start Apache with PHP, I get the same error as Rene.
>> >
>> > Just to be clear, what is the recommended way to run Apache+PHP now? Will
>> > mod_php5 will still be supported?
>> Ok, it seems that main source of questions is php-apache package that
>> causes "Apache is running a threaded MPM, but your PHP Module is not
>> compiled to be threadsafe.  You need to recompile PHP." error at
>> apache start.
>> The answer is that you need to switch apache MPM from default
>> mod_mpm_event to slower but mod_php-compatible mod_mpm_prefork.  See
>> more information in at wiki page
>> https://wiki.archlinux.org/index.php/LAMP#Troubleshooting
>> BTW kudos to our users who already updated wiki for Apache2.4!
>> And of course anyone is welcome to create a threadsafe version of
>> php-apache in AUR so it can be used with mpm_event.
> I've also had problems making nagios work under Apache 2.4. When I click on
> any sidebar link, instead of executing the CGI I'm presented with the
> download dialog to download the CGI file. I guess CGIs have stopped working
> after upgrading. I think mod_cgi does not exist for Apache 2.4, and none of
> the similarly-named mods (mod_fastcgi, mod_proxy_fcgi, mod_fastcgi) seems
> to be a drop-in replacement for mod_cgi.
> What is the recommended way to run CGIs, specifically those needed for the
> Nagios web interface, under Apache 2.4?

Update to version 2.4.7-2 (now it stable). It added missing modules to
the package: mod_cern_meta mod_cgi mod_ident mod_imagemap mod_lua
mod_proxy_html mod_xml2enc

More information about the arch-general mailing list