Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I will try, thanks.
How else then to configure the rights for mysql? By standard?
I have a small gist to generate the pool and nginx config. If the generation functions are redundant, then look at nginx-vhost.bone and phpfpm-pool.bone. Change all % variables% inside to values corresponding to your environment. For phpfpm-pool.bone, pay attention to memory limits, process limits, and maximum file upload size. Some parameters are also commented out there, like listen - there you can choose what to listen (port or socket), respectively, you need to change the "upstream" proxy to nginx.
Well, as @sim3x noted , you need to " add the nginx user to the site group ".
That is, if you create a user for php-fpm with the name "super_site_user", then add the www-data user to the super_site_user group (under normal circumstances, it is created along with the user) (you need to specify the user name in /etc/nginx/nginx.conf - parameter user).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question