문제

I tried to run symfony console command, but I've got an error:

Notice: Undefined variable: output in /var/www/.../vendor/symfony/symfony/src/Symfony/Component/Console/Helper/DialogHelper.php line 411

I have no idea, why it went wrong.

Can anyone help?

도움이 되었습니까?

해결책

I've solved the problem: this error appears because exec() and shell_exec functions was disabled in php.ini file. To enable this functions you have to edit this string:

disable_functions =exec,passthru,shell_exec,system,proc_open

and delete exec, shell_exec:

disable_functions =passthru,system,proc_open

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top