1、装好了LNMP,运行TP5项目,报错:
scandir() has been disabled for security reasons
解决方案:
a.打开php.ini配置文件,找到scandir,然后删除,保存即可。
disable_functions=passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server