www-data alternatives
-
Hi!
I am installing wordpress on ubuntu, following the step-by-step of the website https://ubuntu.com/tutorials/install-and-configure-wordpress#3-install-wordpress. On that page there is a note saying “Note that this sets the ownership to the user www-data, which is potentially insecure, such as when your server hosts multiple sites with different maintainers. You should investigate using a user per website in such scenarios and make the files readable and writable to only those users. This will require configuring PHP-FPM to launch a separate instance per site each running as the site’s user account. In such setup the wp-config.php should (read: if you do it differently you need a good reason) be readonly to the site owner and group and other permissions set to no-access (chmod 400). This is beyond the scope of this guide, however.” I would like to ask how do I configure PHP-FPM to launch a separate instance per site each running as the site’s user account.
Thank you
- The topic ‘www-data alternatives’ is closed to new replies.