Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104412 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15777 invoked from network); 14 Feb 2019 18:44:53 -0000 Received: from unknown (HELO tbjjbihbhebb.turbo-smtp.net) (199.187.174.11) by pb1.pair.com with SMTP; 14 Feb 2019 18:44:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.net; s=turbo-smtp; x=1550762898; h=DomainKey-Signature:Received: Received:MIME-Version:References:In-Reply-To:From:Date: Message-ID:Subject:To:Cc:Content-Type; bh=GPI53zsLlyR80e/ur5rdrO MTnqNwNrGEdtNgAKW3XbA=; b=GWhIuZPf/yfHqerwEPe16oKtaixb9sbYlI4sBo 4DXjZsCVrUqqsBhr4/5haM5oiqJ/J9iWlA6ocHBMI4c6HPOJaorh9TIF/WVa6dQ0 BJaD32lcxE7fYEWy2dE6MLrgwqIkoBrzwlI7afZ7kFFTy6OHtfq8l9OlN0Pa4OSo BJEDY= 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=xGegk7oUrcgyKYkm1b4rpItP6Yqnfwq5e8JJjgLZk8Q+5h277e0sB7I344l/9R cIS5U+UuLodUI4zGgcv/lCJ7XbdGBCMbR9ovD2Ej3sYfJoPonghfaaoYG7AbJ3re rlzhIIU+AQpL7uoWHPHo1had8chlAbtRuJKjzinwJWwho=; Received: (qmail 37070 invoked from network); 14 Feb 2019 15:28:17 -0000 Received: X-TurboSMTP-Tracking: 4853014166 X-Gm-Message-State: AHQUAuZl3DyR2+SbEc9fOrm98j3mmTtIUuGhLnlQ3y9eHGWNd8j87YFY 6DaRal0JCAb+zIA7YjBnIdkCVJouScjZFUXFNHI= X-Google-Smtp-Source: AHgI3IZvpdZBkvNx/AIi6lZCm5p/te39dWZnRxkujKJ6vBb/1d4bRGQBUmLNVjYDK5vKvmBC+/Z2ZSjsGq6xYApZlOY= X-Received: by 2002:a0c:aee1:: with SMTP id n33mr3342402qvd.169.1550158096957; Thu, 14 Feb 2019 07:28:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 14 Feb 2019 17:28:05 +0200 X-Gmail-Original-Message-Id: Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000b706e20581dc4e4d" Subject: Re: [PHP-DEV] Re: ZTS improvement idea From: zeev@php.net (Zeev Suraski) --000000000000b706e20581dc4e4d Content-Type: text/plain; charset="UTF-8" On Thu, Feb 14, 2019 at 5:22 PM Rowan Collins wrote: > On Thu, 14 Feb 2019 at 11:57, Zeev Suraski wrote: > > > On Wed, Feb 13, 2019 at 11:26 AM Joe Watkins wrote: > > > > > The ZTS build is very commonly used in Windows today > > > > > > > Any idea why? > > > > > https://windows.php.net/ currently recommends using an NTS build with > FastCGI, but there is (or was?) also an ISAPI module, i.e. the IIS > equivalent of Apache mod_php. > Yep, well aware of it, I wrote it ages ago... I believe it's dead, and if it isn't, it should be... > I think that requires / required ZTS, so that may be where the perception > of "thread-safety is important for Windows users" comes from. It's definitely the original reason for wanting ZTS on Windows (which used to make sense, until we worked with Microsoft to bring FastCGI to IIS). But if that's still the only reason, it's a pretty bogus one - there's virtually nothing but downsides to using the ISAPI module (or ZTS under Windows in general), at least there aren't any tangible advantages I can think of. That's why I'm asking... Zeev --000000000000b706e20581dc4e4d--