请问阿里云虚拟主机安装出现这个问题如何解决?

数据库连接出错:escapeshellarg() has been disabled for security reasonsattachments-2016-10-pnFZdxVa5806c4a70da7

请先 登录 后评论

1 个回答

宋登峰 - 官方技术支持
擅长:tipask,php,服务器,网站建设

原因:escapeshellarg函数被禁止

解决方法:

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

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

请先 登录 后评论
  • 1 关注
  • 0 收藏,2411 浏览
  • 阿里云 提出于 2016-10-19 08:56

相似问题