tp5.1 入口文件即报错
---------------------------------------------------------------
[ 2018-10-10T10:51:49+08:00 ] 218.93.209.11 GET new.worldsipo.com/admin.php
[ error ] [2]scandir() has been disabled for security reasons[/home/wwwroot/default/rabbit/thinkphp/library/think/App.php:320]
[ error ] [2]Invalid argument supplied for foreach()[/home/wwwroot/default/rabbit/thinkphp/library/think/App.php:322]
[ error ] [2]scandir() has been disabled for security reasons
[ error ] [2]Invalid argument supplied for foreach()
[ error ] [2]scandir() has been disabled for security reasons
[ error ] [2]Invalid argument supplied for foreach()
/usr/local/php/etc/php.ini
中scandir 删除
lnmp reload ,注意不是nginx重启;
相信坚持的力量,日复一日的习惯.