宝塔部署时,出现“open_basedir restriction in effect”错误


错误信息:
Warning: require(): open_basedir restriction in effect.
Warning: require(XXXXXXXXXXX): failed to open stream: Operation not permitted in XXXX

解决方案:
更改宝塔网站配置:去掉勾选防跨站攻击(open_basedir);

声明:Jefsky-程序猿甜品店|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 宝塔部署时,出现“open_basedir restriction in effect”错误


程序猿甜品店