一、裝好了LNMP,運行TP5項目,報錯:php
解決方案:
a.打開php.ini配置文件,找到scandir,而後刪除,保存便可。shell
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
socket