Page tree

Versions Compared

Key

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

...

Code Block
languagebash
drwxrwx--- 9 serveradmin www-data     4096 May 16 16:07 wp-admin
drwxrwx--- 6 serveradmin www-data     4096 May 16 22:01 wp-content

Go to your shell, load your favourite editor and paste the contents of the wp-config.php file,

Code Block
languagebash
vi /opt/web/php/dailyplanet.com/blog/wp-config.php

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

Code Block
languagebash
# WordPress determines write access by checking if the Web Server ID and the directory ID being written too matches.
# During manual file upload the failure results in a prompt for FTP login information.
# The failure will occur regardless if permissions are granted using other means such as group access or ACLs access.
# This line overrides the write check by forcing a direct write.
define('FS_METHOD', 'direct');