wordpress-plugin-install-could-not-create-directory
sudo chown -R www-data:www-data wp-content/plugins/
sudo chmod 775 wp-content
sudo chown -R www-data:www-data wp-content/
wordpress-plugin-install-could-not-create-directory
sudo chown -R www-data:www-data wp-content/plugins/
sudo chmod 775 wp-content
sudo chown -R www-data:www-data wp-content/
Could not create directory wordpress
"Whenever you use the WordPress control panel to automatically install, upgrade,
or delete plugins, WordPress must make changes to files on the filesystem.
Before making any changes, WordPress first checks to see whether or not it has
access to directly manipulate the file system.
If WordPress does not have the necessary permissions to modify the filesystem
directly, you will be asked for FTP credentials so that WordPress can try to do
what it needs to via FTP."
Solution: In order to find out what user your instance of apache is running as,
create a test script with the following content:
<?php echo(exec("whoami")); ?>
For me, it was daemon and not www-data. Then, fix the permission by:
sudo chown -R daemon /path/to/your/local/www/folder
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us