> Oops, no such file exists! Double check the name and try again, merci.
# 打开php.ini
vim /usr/local/php/etc/php.ini
# 查找disable_functions,删除scandir
# 保存并退出,按ESC然后输入下面的再确认
:wq
# 重启PHP
/etc/init.d/php-fpm restart
any question pls Google it.