我在我的网站上上传头像时遇到此错误。我以前从来没有得到过它,最近没有任何改变让我开始收到这个错误……
Warning: is_writable() [function.is-writable]:
open_basedir restriction in effect.
File(/) is not within the allowed path(s):
原文由 Ben 发布,翻译遵循 CC BY-SA 4.0 许可协议
我在我的网站上上传头像时遇到此错误。我以前从来没有得到过它,最近没有任何改变让我开始收到这个错误……
Warning: is_writable() [function.is-writable]:
open_basedir restriction in effect.
File(/) is not within the allowed path(s):
原文由 Ben 发布,翻译遵循 CC BY-SA 4.0 许可协议
2 回答1.3k 阅读✓ 已解决
2 回答782 阅读✓ 已解决
1 回答760 阅读✓ 已解决
1 回答976 阅读✓ 已解决
2 回答848 阅读
1 回答840 阅读
1 回答774 阅读
修改主机帐户中的 open_basedir 设置并将它们设置为无。在 Plesk/cPanel 的“PHP 设置”区域下找到 open_basedir 设置。从此处给出的下拉列表中将其设置为“无”。我已经在 Plesk 面板图片中展示了它们。