今天在部署一个ThinkPHP5开发的网站时,把网站根目录指向到public目录下,结果运行后产生以下错误 Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/xxx/thinkphp/start.php) is not within
正在浏览:public
使用thinkphp5开发的时候报错:syntax error, unexpected T_LIST, expecting T_STRING,提示public function list()错误。 原因是list()是php官方的一种语言结构,把数组中的值赋给一组变量,是php保留字中的
