The code used in http://ifdattic.com/how-to-deploy-symfony-application-to-aws-elasticbeanstalk article