Ubunutu PHP selector only works for 7.2
Ubunutu PHP selector only works for 7.2
I followed this step-by-step tutorial to setup templates for PHP-FPM suport for PHP 5.6, 7.0, 7.1 and 7.2
After completion, only PHP-FPM-72 works, the others don't work because the domain-specific socket is never created.
When I access my site while switched to PHP-FPM-56 I get the error:
[Wed Sep 26 03:55:44.698325 2018] [proxy:error] [pid 12486] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php5.6-fpm-mydomain.com.sock (*) failed
[Wed Sep 26 03:55:44.698424 2018] [proxy_fcgi:error] [pid 12486] [client 159.65.252.229:35342] AH01079: failed to make connection to backend: httpd-UDS
Within /run/php/ I do see php7.2-fpm-mydomain.com.sock and php7.2-fpm-mydomain.com.sock and I see php5.6-fpm.sock. But I do not see php5.6-fpm-mydomain.com.sock which I should.
Anyone know where things are failing if the properly named FPM socket isn't being created?
After completion, only PHP-FPM-72 works, the others don't work because the domain-specific socket is never created.
When I access my site while switched to PHP-FPM-56 I get the error:
[Wed Sep 26 03:55:44.698325 2018] [proxy:error] [pid 12486] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php5.6-fpm-mydomain.com.sock (*) failed
[Wed Sep 26 03:55:44.698424 2018] [proxy_fcgi:error] [pid 12486] [client 159.65.252.229:35342] AH01079: failed to make connection to backend: httpd-UDS
Within /run/php/ I do see php7.2-fpm-mydomain.com.sock and php7.2-fpm-mydomain.com.sock and I see php5.6-fpm.sock. But I do not see php5.6-fpm-mydomain.com.sock which I should.
Anyone know where things are failing if the properly named FPM socket isn't being created?