Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe
I have installed a (lean) LAMP Server.
I want to use php-fpm and found this wiki page: https://wiki.alpinelinux.org/wiki/Apache\_with\_php-fpm
However, when comment line LoadModule mpm_prefork_module modules/mod_mpm_prefork.so and uncomment line #LoadModule mpm_event_module modules/mod_mpm_event.so I get this error:
~# apachectl configtest
[Sat Dec 02 10:23:46.920215 2017] [php7:crit] [pid 1255:tid 140551487437640] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
What’s causing this error?
(from redmine: issue id 8233, created on 2017-12-02)