# Is compiling apache in worker mode unstable?

- Thread: https://externals.io/message/7468
- Original archive: https://news-web.php.net/php.internals/7468
- Started by ashish b\\ on 2004-02-02T08:34:30+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7468 — ashish b\\ — 2004-02-02T08:34:30+00:00

URL: https://externals.io/message/7468#7468

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!

---

## #7469 — Rasmus Lerdorf — 2004-02-02T08:35:11+00:00

URL: https://externals.io/message/7468#7469 · In reply to: #7468

Yup



> 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!
