BigTech BigTech - 1 year ago 99
PHP Question

Unpacking the update... Could not create directory. Wordpress

When I instal

plugins. This error message appears

Downloading update from…

Unpacking the update…

Could not create directory.

How can I fix this problem ?

Answer Source

This is a permissions issue. Ensure the directory is writable by apache. Plugins are unpacked into the wp-content/plugins directory, so I would first attempt writing to the directory as apache:

sudo -u apache touch /path/to/wp-content/plugins/test.txt

Set permissions accordingly to correct the issue. You can read about permissions here:

You can read about the correct file permission scheme for Wordpress here:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download