My understanding is that the PHP core is thread-safe via its use of ZTS and
TSRM. Since PHP can act as a glue for third-party libraries, there's a
potential risk that some extensions may not be thread-safe. There are some
comments about not using Apache2 with a threaded MPM at
http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2
but nothing specific is identified as not being thread-safe.
I've been using SWS with PHP in a single, multithreaded process and
simulated
thousands of active Olio users. That doesn't prove there are no bugs
in the implementation, but does give me confidence in the subset of
PHP extensions that Olio uses.
Jignesh K. Shah wrote:
I thought PHP is not thread-safe.. In that case how can SWS threaded
help?
-Jignesh
--
============================================================================
,-_|\ Richard Smith Staff Engineer PAE
/ \ Sun Microsystems Phone : +61 3 9869 6200
[email protected] Direct : +61 3 9869 6224
\_,-._/ 476 St Kilda Road Fax : +61 3 9869 6290
v Melbourne Vic 3004 Australia
===========================================================================