symfony2 执行 doctrine:generate:entity 命令出错

13次阅读

The Entity shortcut name [AcmeDemoBundle:User]: Notice: Undefined variable: output in /opt/case/symfony/Symfony/vendor/symfony/symfony/src/Symfony/Component/Console/Helper/DialogHelper.php line 411

报这个错误,为啥?直接下载后执行命令的,在环境是 ubuntu+php5.3.18+nginx 求破!

张振亚v5

Notice: Undefined variable: output
output变量未定义查看下源码

exit

php.ini配置中 搜索 disable_function

你的可能是这样的

disable_functions =exec,passthru,shell_exec,system,proc_open

你要删掉

exec, shell_exec

mot

正文完