How to replace php.ini on elastic beanstalk EC2 instances for PHP?

view full story

http://serverfault.com – I have been exploring Elastic Beanstalk for easy deployment of my PHP 5.4 application. For my application, I need to make changes in php.ini file. After some searching on internet i tried to use configuration files in git directory. Following is the content of my file(.config) in .elasticbeanstalk directory in git directory: files: "/etc/php.ini": mode: "000644" owner: root group: root source: https://bucketname.s3.amazonaws.com/php.ini I have uploaded my custom php.ini in my own bucket on s3 and have given all rights to everyone. But still after deployment multiple t (HowTos)