Posted on January 23, 2018 Published by Sam Jenkins Upgrade AWS Elastic Beanstalk from PHP7.0 to PHP7.1 Working with cutting-edge tech at RapidSpike our dev team often faces tricky, involved technical problems. Our solutions to these issues might be of use to other developers – so we’ve asked the team to share their work on our blog. If you’re a developer and this post has helped you – let us know! The AWS Elastic Beanstalk Console currently allows you to change between minor platform versions ( e.g. from 2017.09 v2.6.1 running PHP 7.0 to 2017.09 v2.6.2 running PHP 7.0), but doesn’t support changes between major versions (e.g. from 2017.09 v2.6.2 running PHP 7.0 to 2017.09 v2.6.2 running PHP 7.1). But is it possible to update to a major platform version using the AWS Command Line Interface (CLI): aws elasticbeanstalk update-environment --solution-stack-name "64bit Amazon Linux 2017.09 v2.6.2 running PHP 7.1" --environment-id "x-xxxxxxxxxx" --region "eu-west-1" Why Upgrade? On 4th January 2018 PHP 7.0.27 was released. This marked the end of the two years active support for the 7.0 branch. Further releases will only be issued on demand and contain only critical security relevant bug fixes, with security support provided till December 2018. So it’s a good time to migrate to PHP 7.1 or 7.2. Become a part of RapidSpike and start looking after your online business – get your free account today Categorised in Development About Sam Jenkins Sam is a Systems Developer at RapidSpike - the uptime and performance monitoring service for websites and web servers. Find out how RapidSpike supports web businesses across the world.