雷林鹏分享:CodeIgniter文件上传错误:escapeshellarg() has been disabled for security reasons
CodeIgniter文件上传错误:escapeshellarg() has been disabled for security reasons
原因:escapeshellarg函数被禁止
解决方法:
1、修改PHP配置文件php.ini,找到 disable_functions 字段,删除 escapeshellarg 。
2、重启php-fpm(nginx环境)。
文章转载自 [http://www.php230.com]
(编辑:雷林鹏 来源:网络 侵删)