Bug with PHP-FPM configuration since 3.0.5.4 Patch 4
Since the introduction of the Patch 4 I have noticed that when creating a website using "PHP-FPM" in the Domain tab and" Use Socket For PHP-FPM" in the Options tab the automatically generated Apache vhost file contains the wrong information:
it is wrongly configured to use the host to connect (-host 127.0.0.1:****) to the PHP-FPM "FastCgiExternalServer" directive. Instead it should be using the socket to connect (using the directive -socket /var/lib/php5-fpm/web**.sock) on the "FastCgiExternalServer" line. This misconfiguration of the Apache vhost file results in HTTP 500 errors because Apache could not connect to the PHP server.
This problem did not happen with Patch 3 but only since Patch 4.
Changing the directive by hand back to host it should be (using the directive -socket /var/lib/php5-fpm/web**.sock instead of -host 127.0.0.1:****) and restarting Apache2 and PHP-FPM resolves the problem.
OS: Ubuntu 14.04LTS