I am using a CentOs server that managed with Plesk panel. All domains have different users. I have 2 different installation of WordPress. One is installed from FTP and the other one is installed from Plesk.
WP installed from FTP cannot be updated from admin panel of WP. The error is;
Downloading update from
http://wordpress.org/wordpress-3.4.2-no-content.zipâ¦Unpacking the updateâ¦
Could not copy files.
Installation Failed
WP installed from Plesk can be updated successfully from admin panel of WP. So I check the permissions and file ownership and did the same as WP installed from Plesk. But it doesn’t fix the issue.
Any suggestion?
PS: I know how to update from FTP.
PS2: I won’t disable ‘define(‘FS_METHOD’, ‘direct’);’.
Just because you have write access from the ftp user doesn’t mean that the user Apache/PHP is running in has write access.
I’d advise you upgrade manually, or check your write permissions and ownership for whichever user Apache is running as on those files.
I fixed the problem by changing file ownership to apache:apache
Try to run these commands (Commands are for both Dashboard and ftp)