CodeIgniter文件上传错误:escapeshellarg() has been disabled for security reasons

  原因:escapeshellarg函数被禁止

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

  解决方法:

  1、修改PHP配置文件php.ini,找到 disable_functions 字段,删除 escapeshellarg 。

  2、重启php-fpm(nginx环境)。

  文章转载自 [http://www.php230.com]

  (编辑:雷林鹏 来源:网络 侵删)

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄