Tuesday, September 10, 2013

Configure FPM on Apache2 for only one virtual host (Debian Jessie)

A friend of mine told me once that the most fearful parachute jump is the second one )

Purpose

I have apache2 and php5 and I want to configure them differently for different virtual hosts to have a testing environment on hand.
The annoying problem I've recently faced was configuration of FPM for some virtual hosts among others.
If you want to enable it for the whole server, there is no any problem. But if you want to have php configured as apache module for each one except few, there is a couple of things that are simple but not obvious.