Re: Is compiling apache in worker mode unstable?(what if i am loading a library which is multithreaded?)
| From: | ashish b\\ | Date: | Mon, 02 Feb 2004 08:41:22 +0000 |
| Subject: | Re: Is compiling apache in worker mode unstable?(what if i am loading a library which is multithreaded?) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7470@lists.php.net to get a copy of this message | ||
what if i am loading a library which is multithreaded?
Rasmus Lerdorf <rasmus@php.net> wrote:Yup
On Mon, 2 Feb 2004, ashish b\ wrote:
> hello ,
> is compiling Apache in worker mode really unstable for production purposes?
> Is multithreaded mode of apache really unsafe?
>
> Doumentation of PHP says
> In case you wish to build a multithreaded version of Apache 2.0 you must overwrite the standard
> MPM-Module prefork either with worker or perchild. To do so append to your configure line either the
> option --with-mpm=worker or --with-mpm=perchild. Take care about the consequences and understand
> what you are doing. For more information read the Apache documentation about the MPM-Modules.
>
> Note: To build a multithreaded version of Apache your system must support threads. This also
> implies to build PHP with experimental Zend Thread Safety (ZTS). Therefore not all extensions might
> be available. The recommended setup is to build Apache with the standard prefork MPM-Module.
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!