On Thu, Feb 14, 2019 at 6:13 PM Joe Watkins <krak...@gmail.com> wrote:

> EXACTLY
>
> Sorry I didn't answer in full, but I've been listening to people say its
> not important for so long, I'm pretty tired of it by now.
>

Joe, all,

Again, ISAPI was super important until one day, it wasn't.  If the main
reason ZTS is important is because of a misperception, we need to fix the
misperception instead of of just treating it as a God-given commandment.

Perhaps there's a real mainstream use case for ZTS.  Perhaps there isn't.
Usage alone of things like mod_php under Windows - which isn't a very good
idea - isn't strong enough an indicator.

I created ZTS mode - taking a lot of trouble to do so, refactoring huge
chunks of the PHP code base at the time, and also wrote the ISAPI module
and IIRC, ported mod_php to Windows (not 100% sure about that last one, it
was 20 years ago).  If the technologies that exist today existed back then
- I'm virtually certain I wouldn't have done it.  FastCGI/FPM is superior
in every possible way to thread-safe server plugins.  Heck, today it's
widely accepted that FPM is even superior to mod_php under Linux in pretty
much every respect.  Under Windows the advantages are a lot more
significant, as they're not limited to performance - but also provide much
better robustness/stability.

Zeev

Reply via email to