Could not create directory - wordpress plugin installation failure on mac

5.9k Views Asked by At

Good day folks I tried to install wordpress plugins in Mac in localhost but i am getting this error: Could not create directory. /Applications/XAMPP/xamppfiles/htdocs/kew/wp-content/plugins/revslider/

Plugin install failed. I changed the permissions of the installation folder to Read & Write but the error is not resolved. Kindly assist me.

Regards

3

There are 3 best solutions below

0
On

Try this in the terminal:

  1. sudo chmod 0775 /Library/WebServer/Documents
  2. sudo dseditgroup -o edit -a username -t user _www
  3. rahulmahato$ sudo dseditgroup -o edit -a rahulmahato -t user _www

Note: Replace username with yours :)

0
On
  1. Go through the parent folder of "wp-content" folder.
  2. Right click on folder and chhose "New Terminal at folder"
  3. Via terminal write this sudo chmod -R 777 wp-content
  4. Enter and done.
2
On

You need to set permission on plugin folder/directory. Via terminal write this

sudo chmod -R 777 wp-content