S
S
Sergey2016-07-09 01:12:15
PHP
Sergey, 2016-07-09 01:12:15

Wordpress & pure-ftpd & nginx - how to make them friends?

In general, I have a server on nginx + php. I installed pure-ftpd and configured permissions on the /usr/share/nginx/site.ru folder
. Now the site.ru site owner has access to the site root. Site.ru uses CMS WordPress.
The matter is that Nginx works from under www-data, and files are loaded by the owner of site.ru through pure-ftpd from under other user. In this connection, Wordpress, when installing plugins and other operations, asks for "Information for connection" where it requires input from FTP.
I can't figure out how to fix this bug? Nginx can only run as a single user, while ftp can run multiple users. Tell me how to be in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vovanys, 2016-07-09
@Vovanys

php-fpm (poll) run as a separate user for each site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question