php yii2 redactor is_file(): open_basedir restriction in effect. File(/widgets/Redactor.php) is not within the allowed path(s):

php yii2 redactor 

is_file(): open_basedir restriction in effect. File(/widgets/Redactor.php) is not within the allowed path(s):

php 环境报错

在宝塔的 .user.ini

文件中添加 : open_basedir=/xxx/:/tmp/:/widgets/:/RedactorModule.php

参考:https://cloud.tencent.com/developer/article/1936128

posted on 2026-10-17 11:54  少杨  阅读(7)  评论(0)    收藏  举报