What is the correct configuration for multiple apache2 vhosts and multiple php5-fpm pools?

Posted by farinspace on Server Fault See other posts from Server Fault or by farinspace
Published on 2011-03-11T08:04:16Z Indexed on 2011/03/11 8:12 UTC
Read the original article Hit count: 394

Filed under:
|
|

I have a group of sites (group A) which I would like to run using one php5-fpm pool and a second group of sites (group B) which I would like to run using a second php5-fpm pool.

I can effectively define/create the pool in the fpm.conf file and I confirmed that it is running with the different user/group I've defined.

However I am unclear as to how to setup the apache virtual host config.

I've tried a few apache2 configurations but I seem to not be able to add the second pool.

If you've done this please help.

© Server Fault or respective owner

Related posts about apache2

Related posts about virtualhosts