| 热度: |
Warning: exec() has been disabled for security reasons in 。。。
我认为网上说读写权限问题的帖子是误人子弟,
exec()函数无法使用
程序报错:Warning: exec() has been disabled for security reasons in
原因:在php.ini中存在 disable_functions配置,默认配置中,cli执行函数都是被 禁止的,如果需要的话,需要在php.ini中将 disable_functions = exec , popen, system …. ,将你需要执行的函数从列表中删掉在重启apache即可 。
完全是配置的问题。