On 9/27/06, Albert Poon <albert@xxxxxxxxxxxxxx> wrote:
I am sure PHP4 was compiled threadsafe, because I had to recompile it when I switched from prefork to worker. I recompiled the PHP4 together with all extensions too. I have to use worker mpm because the server has limited RAM...
It's not simply a question of compiling php4 as threadsafe. All the supporting libraries that are used by php must also be threadsafe. Here's what the php developers have to say on the subject: http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2 That is not to say it is impossible to run php with worker, but if you haven't looked carefully at the thread-safety issue, then I certainly wouldn't recommend it. Stuck processes (especially when they are stuck in pthread mutexes) can most certainly be a symptom of thread-unsafe libraries. Joshua.
Best Regards, Albert Poon --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx