'Installation failed: Could not create directory.' I get this error everytime i try to download plugin in wp 4.8

做~自己de王妃 提交于 2019-12-07 10:14:19

问题


I am getting error accessing my admin panel. The error is due to plugin. I fixed the issue by renaming the plugin folder from cpanel and changed it back. Since then,i couldn't download any plugins and get the error

Installation failed: Could not create directory.


回答1:


You need to set permission on plugin folder/directory, now the user does not have permission to create folder/directory in plugin folder/directory.

You need to set permission on wp-content and all inside folder/directory to 755.

You can set permission via terminal

sudo chmod -R 777 wp-content

wp-content should me you folder path for Linux server path should be /var/www/html/project_folder/wp-content

OR

you can set permission via FTP. Right click on wp-content folder click on permission menu and set 755 permission to the folder.




回答2:


The permissions or ownership on wp-content/plugins is incorrect. That directory should have a 775 permission set. If its already that then reapply 755 and checked “apply recursively to all directories and files.



来源:https://stackoverflow.com/questions/44670008/installation-failed-could-not-create-directory-i-get-this-error-everytime-i

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!