Re: migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.
| From: | Rasmus Lerdorf | Date: | Mon, 03 Jan 2005 15:42:19 +0000 |
| Subject: | Re: migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205530@lists.php.net to get a copy of this message | ||
symbulos partners wrote:
Rasmus Lerdorf wrote: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. -RasmusAs 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?