has been disabled for security reasons

原因:

      由于PHP配置中的php.ini默认设置了禁用了执行系统外部命令函数:exec()、passthru()、system()、shell_exec(),

因为PHP默认php.ini配置文件中是不允许你调用执行外部命令的函数的。

解决:

      找到PHP配置文件php.ini 将 “disable_functions=”后面有接上面四个函数删除,就可以了.

      

猜你喜欢

转载自blog.csdn.net/qq_36746815/article/details/83818610