Update README.md
This commit is contained in:
parent
1e3b72a086
commit
91702172a4
|
@ -49,6 +49,8 @@ You can also just run the run-all script.
|
||||||
|
|
||||||
### For Wordpress
|
### For Wordpress
|
||||||
|
|
||||||
Make sure the public_html folder is owned by the www-data group, and that all users are members of that group.
|
chmod 775 -R /home/$user/public_html
|
||||||
Also add `umask 002` to `/etc/apache2/envvars`
|
chown :www-data -R /home/$user/public_html
|
||||||
and add `define( 'FS_METHOD', 'direct' );` to wp-config.php
|
usermod -G www-data $user
|
||||||
|
echo "umask 002" >> /etc/apache2/envvars
|
||||||
|
echo "define( 'FS_METHOD', 'direct' );" >> /home/$user/public_html/wp-config.php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user