Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74069 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20750 invoked from network); 8 May 2014 21:20:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2014 21:20:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=martin.keckeis1@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=martin.keckeis1@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.178 as permitted sender) X-PHP-List-Original-Sender: martin.keckeis1@gmail.com X-Host-Fingerprint: 209.85.214.178 mail-ob0-f178.google.com Received: from [209.85.214.178] ([209.85.214.178:55774] helo=mail-ob0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/16-15882-F25FB635 for ; Thu, 08 May 2014 17:20:47 -0400 Received: by mail-ob0-f178.google.com with SMTP id va2so3829237obc.9 for ; Thu, 08 May 2014 14:20:44 -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; bh=pwSAsv+cF4NNAONmgbvpwIsw/4Ui6GlyKVjo5sy8EYg=; b=X+9hZFyYoGsOeyU4g9mFz1kOyM5ChtbYBsCzLxA1bbqEgeQoeMy6YqTEIN0nmLNlEY EFsrhG/6SzhW/DWClFm07NgKgPHWgt5QbvbHmY7T+heuW/okw0XAsqN+f1akvJGXqAkg XZyt5HPLFdp+YFD3ZWrD4v2epuXZwe1iugehdAmk4xg71uDauElp97Zc1IJtcqvV5q1Q 1od+tkHQVRCtrbXNSEl9manJRRZwvSBxhvFLUoNbiaKtX/EgfMCj9HaZG+YAEU9cSQ4U WREzl5ehoFF8w1MKfWrAEonMnGN8vGXUyGqCepC8cMl17tDOaftnssluKMIZCLoKavaK fTKA== MIME-Version: 1.0 X-Received: by 10.60.17.132 with SMTP id o4mr8497416oed.34.1399584044818; Thu, 08 May 2014 14:20:44 -0700 (PDT) Received: by 10.182.29.38 with HTTP; Thu, 8 May 2014 14:20:44 -0700 (PDT) Received: by 10.182.29.38 with HTTP; Thu, 8 May 2014 14:20:44 -0700 (PDT) In-Reply-To: <1F1617B3-5338-484F-9EC4-B5C78623F364@ajf.me> References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> <1F1617B3-5338-484F-9EC4-B5C78623F364@ajf.me> Date: Thu, 8 May 2014 23:20:44 +0200 Message-ID: To: Andrea Faulds Cc: Jan Ehrhardt , PHP internals Content-Type: multipart/alternative; boundary=089e01294d0cd325ca04f8ea0dda Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: martin.keckeis1@gmail.com (Martin Keckeis) --089e01294d0cd325ca04f8ea0dda Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 07.05.2014 15:18 schrieb "Andrea Faulds" : > > > 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). > > > > 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 happil= y > > 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=E2=80=99m wrong, but don=E2=80=99t you simply need to hav= e 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=E2=80=99d probably need to build from source), b= ut having the web server handle both should be trivial. > > -- > Andrea Faulds > http://ajf.me/ > > Yep its easy with vhosts :-) The only problem is when you need the "php" global command for both versions... --089e01294d0cd325ca04f8ea0dda--