Bug ID | 1172070 |
---|---|
Summary | When apache2_mod_php7 is installed httpd-worker shouldn't be the default server |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.2 |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Apache |
Assignee | bnc-team-apache@forge.provo.novell.com |
Reporter | Willy.Weisz@univie.ac.at |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
I've installed Leap 15.2beta. Since then apache won't start, but displays the following message: "Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe." This didn't occur previously. When the MPM type wasn't defined in /etc/sysconfig/apache2 as find-mpm listed prefork ahead of worker. This has now changed and worker is the new default. This httpd version requires all modules are thread safe which isn't the case for PHP. Therefore the installation of apache2_mod_php7 should prevent the choice of the worker MPM as default. And the error message shouldn't call upon the user to recompile PHP as thread safe, but to use the non-threaded apache program httpd-prefork.