Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74066 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5788 invoked from network); 8 May 2014 16:57:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2014 16:57:45 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:57391] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/64-15882-787BB635 for ; Thu, 08 May 2014 12:57:44 -0400 Received: by mail-lb0-f169.google.com with SMTP id s7so4037495lbd.0 for ; Thu, 08 May 2014 09:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6R8yx9UDEpV/524+IR5+QqJoKvZJtNg9EISv2jHBGp0=; b=m26w4KSZqRiEq1OB4dwEw4FqyS3pdABrhy4Yy1xnb1e/7JadD8HGnEzGD3Tg+peEvW //iWBbQBIhMU/KNJD75EtsSzE4JfJvDo35IQnGtwvrz1r/6a4l0YYIxmBZgNZLbuub+5 oGmdOjZiPgQPlYN1JwWZupX9HexsNjcWN11F6H942/4t1hUaLgXZJKnGMGsuET4d9gVU 06LiuSEmFfJT0j9So9YnwJgXQp0rbMTkpOwq4BoODJor2XXOHohQFatWHIYxlKWd4y8y wfVUdnwb31Le4TLZR0UOZSiW5iKH4sTjBkMceY2uREBDemV28YiuSWVhkvkRerYUDR7O sE1w== MIME-Version: 1.0 X-Received: by 10.112.130.65 with SMTP id oc1mr2813496lbb.67.1399568259890; Thu, 08 May 2014 09:57:39 -0700 (PDT) Received: by 10.114.233.197 with HTTP; Thu, 8 May 2014 09:57:39 -0700 (PDT) In-Reply-To: <4486063930468675024@unknownmsgid> References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> <578A5A21-A820-42AD-A218-FB8049F63B82@zend.com> <4023102707179619765@unknownmsgid> <7EA5660E-B264-4332-AE06-9BB4610050AB@zend.com> <-1685780700287010055@unknownmsgid> <7B1422B2-8D2C-47AF-BEB6-1C6DF9BB043D@ajf.me> <4486063930468675024@unknownmsgid> Date: Thu, 8 May 2014 09:57:39 -0700 Message-ID: To: Zeev Suraski Cc: Andrea Faulds , Ferenc Kovacs , Andi Gutmans , Sebastian Bergmann , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, May 8, 2014 at 7:54 AM, Zeev Suraski wrote: > On 8 =D7=91=D7=9E=D7=90=D7=99 2014, at 17:37, Andrea Faulds = wrote: > > > On 8 May 2014, at 15:29, Ferenc Kovacs wrote: > > > I think this actually shows how little understanding there is in the mark= et > in terms of how easy migrating to FastCGI is. > > > setting up fastcgi is a bit more complicated for the less tech savy peopl= e. > it adds another step of indirection, stuff like using mod_fcgid or > mod_fastcgi, using unix sockets or tcp, setting up the correct timeout > settings through the pipe, max request length, etc. > > > It=E2=80=99s also easier for new users to configure it wrong. A lot of se= rvers have > been misconfigured with FastCGI and have PATH_INFO-related exploits. You > can=E2=80=99t make the same mistake with mod_php. > > > But all of this is very manageable. Distros and stacks (which is what th= e > vast majority of users use, especially new users) will have the right set= up > out of the box. To the average new user it'll work just as it did before= , > non extra setup needed. > > Heck, we can even get "make install" to work properly with Apache FastCGI > if we wanted to, and create a base setup that's fast and secure. Could you spend a day or two on that please? And then document the crap out of fpm? That can even be part of 5.6 and will be one of the major things we can announce. The current installation instructions of PHP have barely changed at all in the past 10 years, other then tiny maintenance tweaks here and there. That sucks balls. And means fcgi and fpm are poorly documented. That means people will just follow what they are used to and know, since every single installation instruction ever talks about mod_php anyway. If you can help us spend some time on making fpm more inviting for people, make the installation easy flowing - and with some tweaks to "make install" we are golden. -Hannes