• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now

How to upgrade runtime versions with one line of code

updatesconfigurationenvironments

Notes

As you're developing with one version of a service, you may want to upgrade that service for a number of reasons. You may want to check compatibility with your application, with as little work as possible. Luckily, on Platform.sh, finding out if another service version works for you is quick to test. Branch your production environment, and create a completely identical environment to try out the upgrade. Then clone the whole project locally, either through Git or through the Platform.sh CLI. When changing runtime version, open up your .platform.app.yaml file and edit a single character to the next major version. That's it. Commit and push the change, and Platform.sh will rebuild the entire application with upgraded runtimes, now on that newest version. Production hasn't been touched at all. You can visit the environment's unique URL and do whatever testing you need to, automated or manual. Run it through every one until you know it works like production should. When you're satisfied, merge the upgrade, and deploy the identical configuration to production in seconds. If you want to see a full demonstration of this process then take a look at our demo video above on how to update Drupal with Composer. Services can be upgraded in the same way. Branch, update the configuration on that branch, push, test, and merge. This process works exactly the same for any change to your code, and any upgrade to your language and dependencies, so you can feel free to try out any change you'd like.

Build your greatest app

Get started
Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺