[dfads params=’groups=-1′]
After installing Apache2, MySQL & PHP on Debian wheezy 7.1, I tried to reboot the apache server. It showed me the following error.
Starting web server: apache2[Fri Dec 27 11:29:16 2013] [crit] Apache is running a threaded MPM, but your PHP Module
is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
Action 'start' failed.
The Apache error log may have more information.
failed!
So I searched through the internet to recomplie the PHP Source. But none of the tutorials were best and feasible.
Finally, after long try I found the command below that helped me to run the apache and PHP along.
apt-get install apache2-mpm-prefork
[dfads params=’groups=-1′]