Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Wed, 07 May 2014 13:20:32 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-74012@lists.php.net to get a copy of this message
On 07.05.2014, at 15:13, Jan Ehrhardt <phpdev@ehrhardt.nl> 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. > > Jan 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. Best regards Rouven

« previous php.internals (#74012) next »