I am creating Symfony 2.8 web app. I am working on Windows Server 2012 R2 on IIS, PHP 7. On local server app.php and app_dev.php are working corectly. But on production server only app_dev.php is working, app.php throws 500 error. Logs from Symfony, IIS and PHP don't have any useful information, only about access etc.
I deleted cache for all envs, tried this and used php app/console --env=prod cache:warmup. Also I've tried to change in config-prod.yml monolog settings to log all things like in dev environment.
To deploy I am using git clone.
{{ dump() }}function being called? That would throw a 500 error.trueandfalsewithout succes... @AlvinBunk There is no dump. Although at local server it should not work either, am I right? <br>I found out that some files are missing. Something goes wrong when project was cloning from git.