[PLUTO-help] apache2 e permessi

Mariano Cunietti mcunietti a enter.it
Mer 5 Gen 2005 10:46:02 CET


> io devo ancora capire una cosa... perchè molti continuano a usare la
> versione 1.3 al posto della 2?
> 

1 motivo:

/usr/src/php-4.3.10/INSTALL:

   Do not use Apache 2.0.x and PHP in a production environment neither
on
   Unix nor on Windows. For information on why, read the following FAQ
   entry

->FAQ

1.  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. 





-- 
-----------------------------
Mariano Cunietti
System Administrator
Enter S.r.l.
Via  Stefanardo da Vimercate, 28
20128 - Milano - Italy
Tel.  +39 02 25514319
Fax   +39 02 25514303
mcunietti a enter.it
www.enter.it - www.enterpoint.it
-----------------------------
Gruppo Y2K - www.gruppoy2k.it




More information about the pluto-help mailing list