PHP提示popen() has been disabled for security reasons函数禁用的解决方法
完全是配置的问题,linux中解决方法为编辑PHP配置文件:
vim /usr/local/php/etc/php.ini
寻找disable_functions字符串, 将后面的open相关禁用删除.
提示:vim下可输入i, :/, 进入搜索模式,轻松找到disable_functions.
重启fpm
/etc/init.d/php-fpm restart