installing nginx with php on whm
hi
I want to install nginx and have it linked to php-fpm, i searched for the .sock files of the php-fpm processes and I was able to locate them but nginx was not able to read them, I think that is due to permission issues. I know my question has too moving parts, but I am wondering if I am thinking about it correctly (of course, I will have nginx on ports say 8080).
-
Hey there! I guess I don't understand the question as Nginx and PHP-FPM work together without any special configuration necessary. You would just need to install Nginx through WHM >> Nginx Manager and then ensure PHP-FPM is enabled in WHM >> MultiPHP Manager, and the two will work together. Are you seeing a specific problem with the system that you're trying to resolve? 0 -
okay, so can I just by-pass apache? I read the documentation and it seemed to me nginx works as cache only. is there a mode where I can have nginx replacing apache? Thx for your feedback. 0 -
There is an experimental option for standalone Nginx that you can read more about here - NGINX" Standalone | cPanel & WHM Documentation 0 -
You're very welcome!! 0
Please sign in to leave a comment.
Comments
5 comments