L Linux under Vim/usr/local/php/etc/php.in
L Direct Slash Find/disable_functions enter
L PRESS the I key
L Remove Scandir
L Press ESC, enter wq! Save Carriage return q! Yes No save exit Lnmp Reestart Restart
==========================
Install thinkphp times Scandir () has been disabled for security reasons
Because the Scandir function inside PHP is disabled.
Workaround:
Open php.ini (path:/usr/local/php/etc/php.ini) and find this line:
Disable_functions = Scandir,passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,
Proc_get_statu,ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,
Readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen
Remove Scandir Save and restart PHP-FPM.
Many function problems, it is possible that PHP disabled, we need to remove the time, in order to secure as little as possible to open!
Php-scandir () Error