Problem with PHP5-fpm using socket if mod_proxy_fcgi is enabled
When using the combination Apache + PHP-FPM + "Use Socket For PHP-FPM" + mod_proxy_fcgi enabled, the resulting Apache vhost configuration is wrong and leads to Error 500.
This issue occurs with Ispconfig 3.0.5.4 with Apache 2.2 and Apache 2.4 and with PHP5 and PHP7.
The log/error.log will contain the following entries:
[proxy:error] [pid 30486] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9077 (*) failed
[proxy_fcgi:error] [pid 30486] [client 66.249.78.184:53171] AH01079: failed to make connection to backend: 127.0.0.1
This issue is fixed in 3.1 (!189 (merged)), but will remain in 3.0.5.4. However, it can be fixed by manually applying the changes in !343 (closed) .
Alternatively you can disable mod_proxy_fcgi with the following command:
a2dismod proxy_fcgi