网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

解决scandir() has been disabled

时间:2024-10-12 07:49:55

1、查看phpinfo(),确认scandir()函数被禁用

解决scandir() has been disabled

2、进入到php的配置目录,编辑php.inicd /usr/local/php/etcvi php.ini

解决scandir() has been disabled

3、搜索scandir然后删掉,保存退出。

解决scandir() has been disabled

4、重启nginx和php-fpm。再刷新查看,OK啦!

解决scandir() has been disabled
© 2026 一点资料
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com