Deploy Symfony2 application to prod environment causes post-install-cmd exception Deploy Symfony2 application to prod environment causes post-install-cmd exception symfony symfony

Deploy Symfony2 application to prod environment causes post-install-cmd exception


Have you read the info box on the documentation page?

If you get a "class not found" error during this step, you may need to run export SYMFONY_ENV=prod before running this command so that the post-install-cmd scripts run in the prod environment.