Dual PHP - Apache 2.2 running PHP 5.3 mod_php and PHP 5.6 php_fpm on CentOS 6.5
We have a CentOS 6.5 server in production, running sites which are not compatible with PHP 5.4+.
For this reason, we are running Apache 2.2 + PHP 5.3 (mod_php). We also run some newer sites on the server and we
would like to run them on PHP 5.6 in order to take advantage of the performance improvements which have
been realised in the newer versions of PHP. To minimize pain, we will run both versions side by side. This will
require mod_php to be overridden in the
VirtualHost by mod_fastcgi. We will install PHP 5.6 FPM to achieve this.
This procedure has also been tested and works on an up to date install of CentOS 6.3!