On 9/27/06, Albert Poon <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to