Re: PHP-FPM with Apache 2.4, forward all request for all virtual host

From: Date: Thu, 04 Apr 2013 21:27:43 +0000
Subject: Re: PHP-FPM with Apache 2.4, forward all request for all virtual host
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-320795@lists.php.net to get a copy of this message
On Thu, Apr 4, 2013 at 10:27 PM, Jose Nobile <jose.nobile@gmail.com> wrote: > How? > > If is required set the website path to PHP-FPM, from Apache Wiki: > > ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/var/www/$1 > > > > > Saludos, > José Nobile > > > with mod_proxy_fcgi you indeed need this line in each vhost. If you don't want this, then you need to use something else, like mod_fastcgi or mod_cgid? mod_cgid should work out of the box, with mod_fastci you might to compile this version for Apache 2.4: https://github.com/ByteInternet/libapache-mod-fastcgi - Matijn

« previous php.general (#320795) next »