Rasmus Lerdorf wrote:
Sorry, I thought by 3rd party libraries you meant libraries that PHP is dependent upon. Do you mean libraries used by PHP or Apache. And if these are libraries used by PHP, do you mean library that as in the multi-byte library (i.e. libraries that add functionality to PHP), or do you mean C libraries used when compiling PHP.No, you didn't understand correctly. I specifically said the thread safety issues were in 3rd party libraries and not in PHP.
I don't want to move from Apache 1-3 to Apache. I just keep hearing that PHP is not ready for Apache2 yet and I wanted to educate myself as to why. I don't like just being told something and not understanding the reason behind the answer.Why exactly are you asking? Is there some feature in Apache2 that you need that is not available in Apache-1.3?
So this boils down to Apache2 using threads and PHP not being thread-safe?
And the reason that PHP is not thread-safe is that some 3rd party libraries PHP used are not thread-safe.
Now the only two questions I have left are : #1 what those libraries are used for. I.e. are they part of PHP or libraries that are used to compile PHP?
If they are libraries used to compile PHP, I would assume that Apache2 must have faced similar issues when going from a forking model to a threaded model?
#2 Is there progress being made towards having PHP work with Apache2. And who is working on this (if not the PHP team).
Thanks again for the clarifications!
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php