Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Also while you are there add the following to the bottom of the file,

Warning

Given we are not using ACLs and groups instead you may not need to do this. Please test without doing this. If it does not work then try to change the owner=www-data and group=serveradmin (and add group +w). Call me if you don't understand.

Code Block
# WordPress determines write access when it finds a match between the Web Server ID and the directory being written too.
# This approach does not work with ACLs. During manual file upload the failure results in a prompt for FTP login information.
# Because we are using ACLs, override the write check by forcing a direct write.
define('FS_METHOD', 'direct');

...