I have a CentOS
, Apache
and Nginx
installation. It uses php 5
handler as fcgi. This server uses WHM cpanel
and easyapache
. fcgi
apply by using easyapache
. These installation done by my hosting company. When I'm adding following code to Nginx vhost
it giving me No such file or directory
error.
location ~ .php$ { try_files $uri /index.php; include fastcgi_params; fastcgi_pass unix:/var/run/php5-fpm.sock;
When I'm searching .sock
file in the server, it don't display .sock
extension file. How to I find the correct fastcgi_pass
directory and file in ths VPS?