Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Wed, 07 May 2014 13:33:13 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Rouven Weßling in php.internals (Wed, 7 May 2014 15:20:32 +0200):
>On 07.05.2014, at 15:13, Jan Ehrhardt <[email protected]> wrote:
>
>> 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.
>
>You can. The trick is running each PHP version on a different port.
>(i.e. 5.3 on port 9000, 5.4 on 9001 and so on) Than simply use the port
>for the PHP version you want when configuring the virtual host.

I would love to do that. There is just a tiny nuisance: php-fpm does not
run on Windows, so the only performant options are mod_php and
mod_fcgid. And AFAIK mod_fcgid only supprts a single PHP version.

Jan


Thread (123 messages)

« previous php.internals (#74015) next »