Applicable to:
- Plesk for Linux
Symptoms
- While trying to update a WordPress plugin under Domains > example.com > WordPress , the following error appears:
PLESK_ERROR: The WordPress installations were updated with errors:
Installation "example": The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.
- PHP handler under Domains > example.com > PHP Settings is set as
mod_php served by Apache
.
Cause
The inconsistency of permissions.
mod_php served by Apache
handles requests under apache user, while the files under domain's directory are owned by system user of the domain.
Resolution
2. Change PHP handler under Domains > example.com >PHP Settings to the other one:
Comments
2 comments
Please clarify the resolution ... what do you mean by changing the PHP settings to "the other one"
Do you mean at the top where it says ...run PHP as ....?
I am shown three options, which would be the option that would allow me to update plugins without getting the above errors?
Hi @Marnette, it means changing the PHP version and not the "serve as" box. It is located right to the left as "PHP support (PHP version"
Please sign in to leave a comment.