解决scandir() has been disabled

 时间:2026-04-24 01:58:06

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

解决scandir() has been disabled

2、进入到php的配置目录,编辑php.ini

cd /usr/local/php/etc

vi php.ini

解决scandir() has been disabled

3、搜索scandir

然后删掉,保存退出。

解决scandir() has been disabled

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

解决scandir() has been disabled

  • 知道APP交流QQ群号怎么查看?
  • 蒜蓉迟菜心的做法
  • iPhone手机如何清理内存
  • 怎样的花菜好吃
  • 气血不足怎么办?
  • 热门搜索
    丁丁旅游香港站 广州到三亚旅游团 毕业旅游景点 房山旅游网 苏州国际旅游节 香港旅游攻略2012 西安商贸旅游学院 趣途旅游网 北京郊区旅游网 美国旅游签证办理