Wes Kurdziolek wrote:

I'll also quickly point out that PHP's problems w/ Apache 2 are not strictly PHP's problems -- many of the libraries it links against are not thread-safe. In particular and most prevalent are the MySQL client libraries. This makes running PHP w/ Apache 2 in threading mode (the default under Windows) troublesome. However, PHP works great w/ Apache 2 if you run Apache 2 in forking mode since you don't have to worry about any of PHP's dependent libraries' thread-safety issues.


Or run PHP5 as CGI with some kind of wrapper like http://www.suphp.org, for me it works perfectly also with the threaded Apache2, and it adds some security too!

Luca Longinotti

Reply via email to