You can now develop your AWS Elastic Beanstalk applications using PHP 7.2. The latest PHP version comes with numerous improvements and new features such as counting of non-countable objects, object typehint, new sodium extensions, and improved TLS constants to sane values. For the complete list of PHP 7.2 features, including a PHP migration guide visit the official PHP 7.2 release announcement . You can upgrade your existing AWS Elastic Beanstalk PHP environment using the Elastic Beanstalk console or through the AWS CLI and Elastic Beanstalk API. See Migrating an Environement to a New Configuration for additional details.