Re: [arch-dev-public] Upgrading Apache to 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

On Fri, Mar 7, 2014 at 1:10 AM, Sebastiaan Lokhorst
<sebastiaanlokhorst@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux