今天上了一下项目,发现文法访问:

然后给入口文件添加,查看报错。
error_reporting(E_ALL);
ini_set('display_errors', '1');

权限不做导致。给他添加一下权限。,我把他和它的子文件的权限都设置为777
chmod -R 777 runtime/
发现好用了。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号