On 03/21/2018 09:15 PM, Helmut K. C. Tessarek wrote:
On 2018-03-21 21:59, j adams wrote:
So what's the story with PHP and multithreaded environments these days?

Unfortunately PHP was never and will most likely never be threadsafe as
a module.
(Yes, I know that there's the ZTS code, but hey, are you really serious
about this?)
I never understood why the core devs never switched to a threaded model,
but I believe they never deemed it truly necessary.
The ZTS threaded module has a few interesting approaches but fails in
some other areas. To be honest, I suggest to use the fpm-cgi SAPI module
with an Apache threaded environment.

I've been using zts w/ latest apache in threaded and have not found the issues, but I've heard Remi mention them and he generally knows all things truth from fiction when it comes to php.

Is there a list somewhere of what the specific issues with using zts in multi-threaded apache are? What modules have known issues?

I haven't found it.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to