Failed opening required thinkphp/base.php

fastadmin thinkphp 文章 2022-04-30 19:48 1494 0 全屏看文

AI助手支持GPT4.0

今天在迁移用FASTADMN网站的时候报了这个异常。

<b>Fatal error</b>:  require(): Failed opening required 
'/mnt/www/www.xxxx.com/public/../thinkphp/base.php' (include_path='.:/www/server/php/73/lib/php') in <b>/mnt/www/www.zhanzhang123.com/public/install.php</b> on line <b>21</b><br />

检查了下。目录下是有 thinkphp/base.php的

image.png

本来我以为是权限问题,后来改成777后依旧不行。

最后找到了原因。

image.png

这样配置是错的。public 下放在下面。

image.png

-EOF-

AI助手支持GPT4.0


您还可能感兴趣的文章