“安装失败:无法创建目录."每当我尝试在wp 4.8中下载插件时都会收到此错误 [英] 'Installation failed: Could not create directory.' I get this error everytime i try to download plugin in wp 4.8

查看:86
本文介绍了“安装失败:无法创建目录."每当我尝试在wp 4.8中下载插件时都会收到此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

访问管理面板时出现错误.该错误是由于插件引起的.我通过从cpanel重命名plugin文件夹并将其改回来解决了该问题.从那时起,我无法下载任何插件并收到错误消息

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.

推荐答案

您需要设置插件文件夹/目录的权限,现在用户无权在插件文件夹/目录中创建文件夹/目录.

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

您需要将wp-content和所有内部文件夹/目录的权限设置为755.

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应该是您的Linux服务器路径的文件夹路径应该是/var/www/html/project_folder/wp-content

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

OR

您可以通过FTP设置权限.右键单击wp-content文件夹,然后单击权限菜单,然后将755权限设置为该文件夹.

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

这篇关于“安装失败:无法创建目录."每当我尝试在wp 4.8中下载插件时都会收到此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆