When I run, as I usually do php app/console cache:clear --env=prod --no-debug
, nothing happens, no message is printed, no error.
Things work fine for --env=dev
.
Same goes for assetic:dump
.
I'm a bit lost concerning how to troubleshoot this. Does anyone know?
When you have a Fatal error that you can't see you can try to run your command with specific log-path and then see at your log file where was a problem.
php -derror_log=php.log app/console cache:clear --env=prod --no-debug
This command will run your script and redirect all errors to the php.log
file located at the current working dir. Make sure that you have enough privileges to create file at this path. You can test it by running command touch php.log