Solved No php-fpm socket in users httpd.conf

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
2,467
Location
UA
Hello,

My client modified something in DA and now all sites down due to absent php-fpm socket in their virtual-hosts.
I checked php-fpm mode for all versions, trying rebuild php / nginx_apache / rewrite_confs - no luck.
Also there are no custom templates.
build_remove items tells me that there was suphp not removed, I removed, again recompile php and apache and confs - still they without socket.
Only existing and working fpm-socket for webapps.

Centos 7, stable-branch DA
 
Last edited:
If I change webserver from nginx_apache to nginx - there is no php-fpm socket in users nginx.conf too.
 
On working server I have:
Code:
 <FilesMatch "\.(inc|php|phtml|phps|php74)$">
         <If "-f %{REQUEST_FILENAME}">
                 #ProxyErrorOverride on
                  AddHandler "proxy:unix:/usr/local/php74/sockets/karet79.sock|fcgi://localhost" .inc .php .phtml .php74
         </If>
 </FilesMatch>
on broken:
there is no such passage in
/usr/local/directadmin/data/users/em00728173/httpd.conf
 
Back
Top