服务器使用的是lnmpa一键安装包
想要把一些php公共文件放到特定位置 /usr/local/commphp
网站根目录为 /www/wwwroot/com
测试时在/www/wwwroot/com 中创建index.php
测试request时
require '/www/wwwroot/ceshi.php'; 正常
require '/usr/local/commphp/ceshi.php' 报500error
其它路径测试的时候
require '/www/ceshi.php' 报500error
require dirname(dirname(__FILE__) . 'ceshi.php' 报500error
php.ini配置中open basedir是注释状态
并且查看探针 php安全模式是关闭状态
不知道是不是www权限问题,请问该怎么解决?