Re: Re: ZTS improvement idea
| From: | Zeev Suraski | Date: | Thu, 14 Feb 2019 15:58:55 +0000 |
| Subject: | Re: Re: ZTS improvement idea | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104415@lists.php.net to get a copy of this message | ||
On Thu, Feb 14, 2019 at 5:47 PM Christoph M. Becker <cmbecker69@gmx.de>
wrote:
> On 14.02.2019 at 12:56, Zeev Suraski wrote:
>
> > On Wed, Feb 13, 2019 at 11:26 AM Joe Watkins <krakjoe@gmail.com> wrote:
> >
> >> The ZTS build is very commonly used in Windows today
> >
> > Any idea why?
>
> windows.php.net:
>
> | With Apache you have to use the Thread Safe (TS) versions of PHP.
>
That's a great explanation (wasn't aware of it!), but that's actually not
true, it's much better to use FastCGI instead (faster and definitely a lot
more reliable and robust).
Looks like XAMPP might be under the same false impression. Might be a good
opportunity in PHP 8 to change these not-so-healthy defaults. After all,
ISAPI used to be super popular too (under Windows) until worked with
Microsoft to bring FastCGI into IIS.
Zeev