Getting this error while trying to install theme or plugin in WordPress: Installation failed: Could not create directory.
How to solve this?
It's happening because of the directory permissions bro, can you set them to '775'? (If it's not!)
You can do this via Filezilla or your cPanel's File Manager.
Have done that. Still getting the same issue.
Oops. Then can you try "777" bro? Please use '775' or '777' with "wp-content/uploads" folder as well.
Problem solved. I have used this command;
chmod -R 775 directory_path
@pradeepkumar Previously I used quite same command that didn't change permission of all folders in a particular directory.
Okay bro, awesome, thanks for sharing the solution.