Celso Viana wrote:
Se vc puder, poste o link...... gostaria de conhecer os argumentos pq
nÃo se usar o apache2....... afinal, jÃ faz bastante tempo que essa
versÃo foi disponibilizada.....
Talvez este isto ajude a esclarecer:
PHP and Apache 2.0
For as long as Apache 2 has been stable, the PHP manual has carried this strongly worded warning:
"Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows."
I've frequently wondered why they are being so slow to support the new version - after all, Apache 2 provides a bunch of improvements over the older 1.3 and is recommended by the Apache Software Foundation as the best available version.
I finally found the answer today in this comment buried on Slashdot. It seems that one of the key features of Apache 2 is the new threaded worker module which uses threads to serve more requests more efficiently than 1.3's multi-process based server. While the core Zend engine of PHP is thread-safe many of the critical libraries that PHP relies on for its advanced functionality (image processing, database connectivity and so forth) are not, and are unlikely to become so any time in the future. In a threaded environment PHP is likely to suffer from all kinds of unpredictable bugs. Apache 2 can be run in traditional 1.3-style prefork mode but doing so greatly reduces its advantages over 1.3. Combined with the lack of heavy duty testing on Apache 2 and the fact that the 1.3 series will continue to be supported for a long time to come it's clear why the PHP team are unwilling to recommend PHP and Apache 2 in a production environment.
Posted 31st March 2004 - 07:43 | Categories: PHP
Ref.  http://simon.incutio.com/archive/2004/03/31/phpAndApache2  http://apache.slashdot.org/comments.pl?sid=101407&cid=8644732  http://httpd.apache.org/docs-2.0/mod/worker.html  http://httpd.apache.org/docs-2.0/mod/prefork.html -------
_______________________________________________________________ Para enviar um novo email para a lista: email@example.com Sair da Lista: http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br Historico: http://www4.fugspbr.org/lista/html/FUG-BR/