Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104419 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 37381 invoked from network); 14 Feb 2019 19:42:06 -0000 Received: from unknown (HELO tbjjbihbhebb.turbo-smtp.net) (199.187.174.11) by pb1.pair.com with SMTP; 14 Feb 2019 19:42:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.net; s=turbo-smtp; x=1550766331; h=DomainKey-Signature:Received: Received:MIME-Version:References:In-Reply-To:From:Date: Message-ID:Subject:To:Cc:Content-Type; bh=eBYxO8J8vR7sFxps0r9eZk /PoDhK6nm86yd1ylpR9Lo=; b=AninZ6DkmXwDVCy/RH/UE/hSwDvFjgUk1ju9F0 Wa1TRmTGRyK4tRrJFwHY1Aagl+lro6nLz5F0r+jue3Cj1QxORzKmb7dbHQkTeXfh +6gxSY0WjY7bd04YjyrBg8Ffy+OSqxGuVFsJgyyCYzRSgSXrssKo8yIgNqECU3v/ HKP1Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=turbo-smtp; d=php.net; h=Received:Received:X-TurboSMTP-Tracking:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version:References:In-Reply-To:From:Date:X-Gmail-Original-Message-Id:Message-ID:Subject:To:Cc:Content-Type; b=feXosORFNKpiCE6MekXfH7uGrByE80thjg4JILO5+vZAMKOIhz/iFhJIs/YHBd v1Yd+cqhB0vCMpVmZyHgT/ljdItR2pxAYcVF+tNsfq1g6BZfye2fUIyvlwqZYq6h FWbi4TwU2DeFyaid7KeKEedXsrLP4KgCVvmaRVAm8174I=; Received: (qmail 29745 invoked from network); 14 Feb 2019 16:25:31 -0000 Received: X-TurboSMTP-Tracking: 4853181208 X-Gm-Message-State: AHQUAuZSPNhojVkNSJyKM6eQZIJXJMrcf2TK2LXXsMJIFHTZLaEWA694 sGyda8uReMPDamBY/0jVpNu+piUCmu4BwtxEzuo= X-Google-Smtp-Source: AHgI3Ibe7fj9V+58YwCm5gZH1w1Aw5cQoR32HzreaokiUMUE419G3Jtr5ullMh9ljGiOHJnY3P3XLHQtC8MK3KJ7+oI= X-Received: by 2002:ac8:2598:: with SMTP id e24mr3855362qte.27.1550161530414; Thu, 14 Feb 2019 08:25:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 14 Feb 2019 18:25:19 +0200 X-Gmail-Original-Message-Id: Message-ID: To: Joe Watkins Cc: Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary="0000000000005d6d080581dd1bc3" Subject: Re: [PHP-DEV] Re: ZTS improvement idea From: zeev@php.net (Zeev Suraski) --0000000000005d6d080581dd1bc3 Content-Type: text/plain; charset="UTF-8" On Thu, Feb 14, 2019 at 6:13 PM Joe Watkins 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 --0000000000005d6d080581dd1bc3--