28:32 ./yaf_cg imooc之后
来源:2-1 准备工作-快速搭建基于Yaf框架的项目环境

dollzcx
2017-07-22
PHP Warning: shell_exec() has been disabled for security reasons in /home/work/imooc/tmp/yaf-master/tools/cg/yaf_cg on line 28
PHP Warning: shell_exec() has been disabled for security reasons in /home/work/imooc/tmp/yaf-master/tools/cg/yaf_cg on line 29
PHP Warning: scandir() has been disabled for security reasons in /home/work/imooc/tmp/yaf-master/tools/cg/yaf_cg on line 85
写回答
1回答
-
Pangee
2017-07-22
这个报错的意思是“*** 函数被禁用了”
所以,找到你机器里的 php.ini 文件,修改里面内容 disable_functions 这项配置,把里面的 shell_exec 和 scandir 函数解禁,就好啦。
232017-09-25
相似问题