Answer the question
In order to leave comments, you need to log in
Where to change the value of $PHPFPM_USER_SOCKET_PATH?
Hello!
ISP manager, Ubuntu 16, Nginx + PHP-FPM. PHP 7.2
After each change in the "WWW-domain" in the Nginx configuration, it says: fastcgi_pass unix:/var/www/php-fpm/www-root.sock;
And I need this: fastcgi_pass unix:/run/php/php7.2-fpm.sock;
I looked in the template: "nginx-vhosts.template" the $PHPFPM_USER_SOCKET_PATH variable is responsible for the path to the socket , but I can't find where it is gets its value?
Can you tell me the file in which to search and change the value?
Thank you.
For some reason with fastcgi_pass unix:/var/www/php-fpm/www-root.sock; PHP version 7.0 works, you need 7.2, it works only like this: fastcgi_pass unix:/run/php/php7.2-fpm.sock; . Although the user has a version of php 7.2.5.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question