exec() has been disabled for security reasons

1.修改php.ini里面:disable_functions

2.重启服务器

2.如果是虚拟机,就重启虚拟机

原文地址:https://www.cnblogs.com/xiaobiaomei/p/10848665.html