首页 > symfony2 执行 doctrine:generate:entity 命令出错

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

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 求破!


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


php.ini配置中 搜索 disable_function

你的可能是这样的

disable_functions =exec,passthru,shell_exec,system,proc_open

你要删掉

exec, shell_exec
【热门文章】
【热门文章】