1 error Hint: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP
Because Apache's operating mode and non-thread-safe version of PHP are incompatible, it is necessary to change the operating mode of Apache. Apache is through Ubuntu under
1 apt-get Install Apache2
installed, so there are two folders in the/etc/apache2/directory, one mods-avaiable a mods-enabled.
Remove the Conf and load links for mpm-event under the mods-enabled directory. Rebuilding Prefork Links
1 cd mods-enabled/2 ln-s . /mods-available/mpm_prefork.*.
Restart the Apache2,ok.
Reference:
Http://php.net/manual/zh/faq.installation.php#faq.installation.apache2
Http://www.cnblogs.com/fnng/archive/2012/11/20/2779977.html
Http://www.open-open.com/lib/view/open1464766095184.html
Apache cannot be started after installing PHP7 under Ubuntu