Re: Re: ZTS improvement idea
| From: | Zeev Suraski | Date: | Thu, 14 Feb 2019 16:25:19 +0000 |
| Subject: | Re: Re: ZTS improvement idea | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104419@lists.php.net to get a copy of this message | ||
On Thu, Feb 14, 2019 at 6:13 PM Joe Watkins <krakjoe@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