When an app is ready, we need to prepare it for the production environment. The production environment usually has different settings and requirements. Preparing the Symfony2 application doesn't require much work, but there are steps that should be done and can be easily forgotten.
In this chapter, we will discuss the following topics:
The steps to prepare an application for production
Possible strategies for deployment
Custom optimizations for error pages