1
votes

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

2
Read and write for folder corresponds to a number like 777, 650.... Have a look to the file and folder permissions reference codex.wordpress.org/Changing_File_Permissions - Benoti

2 Answers

2
votes

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

sudo chmod -R 777 wp-content

0
votes

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 :)