Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Thu, 08 May 2014 21:20:44 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Am 07.05.2014 15:18 schrieb "Andrea Faulds" <[email protected]>:
>
>
> On 7 May 2014, at 14:13, Jan Ehrhardt <[email protected]> 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 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’m wrong, but don’t 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’d probably need to build from source), but
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...


Thread (123 messages)

« previous php.internals (#74069) next »