Re: Apache 2.0 and PHP
| From: | Ernest E Vogelsinger | Date: | Fri, 14 Mar 2003 21:53:26 +0000 |
| Subject: | Re: Apache 2.0 and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139769@lists.php.net to get a copy of this message | ||
At 19:37 14.03.2003, Michael Aaron said:
--------------------[snip]--------------------
>Sorry if this has been answered before but I can not find it anywhere:
>
>Why does the PHP docs. state:
> "Do not use Apache 2.0 and PHP in a production environment neither on
>Unix nor on Windows. "
>
>What is the reason for this Warning?
--------------------[snip]--------------------
Apache 2.0 implements multithreading, while the 1.x versions were forking
processes. While this might increase the overall speed of the webserver,
all (and I mean ALL) used extensions, end extensions for these extensions,
must be written in a thread-safe way.
While the PHP core group as to my knowledge has already implemented PHP
(4.3.0 that is) in a thread-safe way, most of PHP extension modules are not
(yet?) thread safe.
Might get you into a core dump I suppose...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/