[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Jean-Christian IMbeault
Miguel Angelo wrote:

 Is PHP capable of running on Apache 2.x and if so what version ?
 And is it stable ?


PHP will run on Apache 2 but ...

#1 Apache 2 is multi-threaded whereas PHP is not. You need to turn
Apache 2's multi-threading off.

#2 Turning Apache 2's multi-threading off pretty much loses any
performance gains Apache 2 has over Apache 1.2.X

#3 I'm not 100% sure that even with multi-threading off PHP is 100% stable.

Conclusion:

If you want to use PHP on a production server don't use Apache 2.

My 2 cents,

Jean-Christian Imbeault


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Ivo Fokkema
Jean-Christian Imbeault [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Miguel Angelo wrote:
 
  Is PHP capable of running on Apache 2.x and if so what version ?
  And is it stable ?
 PHP will run on Apache 2 but ...

 #1 Apache 2 is multi-threaded whereas PHP is not. You need to turn
 Apache 2's multi-threading off.

 #2 Turning Apache 2's multi-threading off pretty much loses any
 performance gains Apache 2 has over Apache 1.2.X

 #3 I'm not 100% sure that even with multi-threading off PHP is 100%
stable.

 Conclusion:

 If you want to use PHP on a production server don't use Apache 2.

May I add this little note from the PHP installation txt file :

 
 ATTENTION: Apache 2 Users

   At this time, support for Apache 2 is experimental.  It's
   highly recommended you use PHP with Apache 1.3.x and not
   Apache 2.
(...)
  


--
Ivo Fokkema
PHP  MySQL programmer
Leiden University Medical Centre
Netherlands



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Jean-Christian IMbeault
Ivo Fokkema wrote:
 
 May I add this little note from the PHP installation txt file :
 
  
  ATTENTION: Apache 2 Users
 
At this time, support for Apache 2 is experimental.  It's
highly recommended you use PHP with Apache 1.3.x and not
Apache 2.
 (...)
   

Hum ... I think that pretty much sums it all up ;)

Jean-Christian Imbeault


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php