FTP login by wordpress was error
-
I have problem when I try do update plugin in wordpress.
The message error is:
An error occurred while updating Akismet: Download failed. Destination directory for file streaming does not exist or is not writable.
My develop environment is Win 7 Pro 64bit.
My server is linux centos 7 (virtual machine).
My FTP server is vsftpd.
My wordpress folder is /var/www/html/myWP.
I try to find this error and try to fixed at descriptions.
I chowned -R apache:apache for /var/www/ and /var/www/html
My foldera permission are 755 and files are 644
I edit the wp-config.php following:
define( 'FS_METHOD', 'direct'); define( 'FTP_BASE', '/myWP'); define( 'FTP_CONTENT_DIR', '/myWP/wp-content/'); define( 'FTP_PLUGIN_DIR', '/myWP/wp-content/plugins/'); define( 'FTP_USER', 'tommy'); define( 'FTP_PASS', '123456789'); define( 'FTP_HOST', '192.168.1.100'); define( 'FTP_SSL', false);I try to make tmp folder and path to it like:
define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/tmp/') ;I opened port 21 for firewall in centos7.
My question: This FTP account could login, transfer, edit or delete files by FileZilla client. It was OK BUT I still can’t update the plugins. Please check out for me my false.
The topic ‘FTP login by wordpress was error’ is closed to new replies.