You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vincent Kruger <al...@spils.com> on 2002/07/21 00:46:42 UTC

Apache 2 and PHP

Have the problems with apache 2 and php been sorted out ?

Regards
Vincent Kruger

Re: Apache 2 and PHP

Posted by Rasmus Lerdorf <ra...@apache.org>.
Nope, and they won't be for a while. Apache2+prefork, if you use the CVS
versions of both, should be ok, but any of the threaded mpms are likely to
cause problems with 3rd party libraries linked into PHP because the
threadsafety of these libraries is questionable and out of our control. It
may work, but you have to do some very thorough testing of all external
libraries you plan on using with PHP before you put a server into a
production environment.

Something as common as libpq (the PostgreSQL client library), for example,
is threadsafe, except if you have a call to CRYPT() in an SQL query.  So,
an Apache2/PHP/PostgreSQL may or may not be threadsafe depending on the
actual SQL queries used...  *sigh*

-Rasmus

On Sun, 21 Jul 2002, Vincent Kruger wrote:

> Have the problems with apache 2 and php been sorted out ?
>
> Regards
> Vincent Kruger
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org