Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74010 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53303 invoked from network); 7 May 2014 13:17:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2014 13:17:57 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.214 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.214 imap4-4.ox.privateemail.com Received: from [192.64.116.214] ([192.64.116.214:39444] helo=imap4-4.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/F4-17246-3823A635 for ; Wed, 07 May 2014 09:17:56 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id E44A1560086; Wed, 7 May 2014 09:17:52 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap4.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap4.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3lmNrYoSZmFH; Wed, 7 May 2014 09:17:52 -0400 (EDT) Received: from [192.168.0.200] (unknown [2.218.135.6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4A8BC560071; Wed, 7 May 2014 09:17:50 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_783BDD3E-99A9-4756-BE4B-8AD9A4482BFF" Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) In-Reply-To: Date: Wed, 7 May 2014 14:17:47 +0100 Cc: internals@lists.php.net Message-ID: <1F1617B3-5338-484F-9EC4-B5C78623F364@ajf.me> References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> To: Jan Ehrhardt X-Mailer: Apple Mail (2.1874) Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: ajf@ajf.me (Andrea Faulds) --Apple-Mail=_783BDD3E-99A9-4756-BE4B-8AD9A4482BFF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 7 May 2014, at 14:13, Jan Ehrhardt wrote: > Zeev Suraski in php.internals (Wed, 7 May 2014 09:36:14 +0300): >> Seriously, I can't think of any *real* reason of why anybody would >> need something other than these SAPIs in 2014 (other than FUD). >> Things like ISAPI and other more esoteric SAPIs are no brainers, and >> while mod_php may be a bit more of a leap of faith, it doesn't truly >> brings any tangible benefits over FastCGI (none that can't be >> relatively easily replicated in userland anyway, eg htscanner). >=20 > Is Fastcgi capable of supporting 2 versions of PHP? I still need PHP = 5.3 > for Drupal6, but Drupal7, Wordpress, Modx and the like profit from PHP > 5.5. If there was a way to run both versions as Fastcgi, I would = happily > go along with you. But I haven't found out how to do that, so one of > the two still is mod_php. Correct me if I=92m wrong, but don=92t you simply need to have two PHP = versions installed (5.3 FastCGI and 5.5 FastCGI) and then reference the = appropriate ones in your server configuration files? The hard bit would = be the dual installation (you=92d probably need to build from source), = but having the web server handle both should be trivial. -- Andrea Faulds http://ajf.me/ --Apple-Mail=_783BDD3E-99A9-4756-BE4B-8AD9A4482BFF--