ISPConfig2 & mpm_worker

lindesbs

Member
Ich habe meinen Server gemaess dem Tutorial eingerichtet. Laeuft seit Monaten sehr gut.
Heute habe ich gemerkt, das er "nur" mit dem mpm_prefork laeuft. Wollte umstellen auf mpm_worker, allerdings startet er dann nicht mehr.

ISPConfig generiert die php_admin Flags die abgelehnt werden.

Gibt es irgendwo eine Anleitung, wie ich das umstellen kann damit ich mit dem mpm_worker arbeiten kann ?
 

lindesbs

Member
Hat sich erledigt....


http://au.php.net/manual/en/faq.installation.php#faq.installation.apache2
Why shouldn't I use Apache2 with a threaded MPM in a production environment?
PHP is glue. It is the glue used to build cool web applications by sticking dozens of 3rd-party libraries together and making it all appear as one coherent entity through an intuitive and easy to learn language interface. The flexibility and power of PHP relies on the stability and robustness of the underlying platform. It needs a working OS, a working web server and working 3rd-party libraries to glue together. When any of these stop working PHP needs ways to identify the problems and fix them quickly. When you make the underlying framework more complex by not having completely separate execution threads, completely separate memory segments and a strong sandbox for each request to play in, feet of clay are introduced into PHP's system.
If you feel you have to use a threaded MPM, look at a FastCGI configuration where PHP is running in its own memory space.
And finally, this warning against using a threaded MPM is not as strong for Windows systems because most libraries on that platform tend to be threadsafe.
 

Werbung

Top