Re: migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



symbulos partners wrote:
Rasmus Lerdorf wrote:

As far as threading goes, it is simply not a good idea for a large
complex system.

I do not understand why, probably because I am not well prepared. Can you explain me? As far as I know, threading should be a noticeable improvement in case of large systems. Is there something in the implementation of PHP 5 which does not allow for safe threading? If so, what it is?

I thought I just explained that. The problem is that the dozens of libraries you are likely to link into you Apache+PHP system may or may not be threadsafe. It doesn't have much to do with PHP itself. If you are 100% certain that every library you plan on linking in is threadsafe, then go for it. And there is no difference between PHP4 and PHP5 when it comes to a threaded Apache2, so your matrix there doesn't make much sense. Either use Apache1 or Apache2-prefork if you want to make sure you have a robust system. Then choose the version of PHP you prefer after that.


For my production servers I use Apache1 and PHP4 currently with new development being done on Apache1-PHP5. I don't have anything that needs any of the features from Apache2.

-Rasmus

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux