Page 1 of 1

php with apache 2 mpm worker

Posted: Tue Oct 17, 2006 2:46 pm
by EvolutionCrazy
any thougth/experiency?

i've tried to replace the httpd bin with the .worker one that comes with RHEL.. but obviously it refused to start giving this error:
Starting httpd: [Tue Oct 17 20:35:53 2006] [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!
in phpinfo() in fact i can see:
Thread Safety disabled
are there really major improvements in running it with worker?

eventually is there any problem/slowdown using threadsafe php with a prefork apache? :)