How do you change the PHP version in Pantheon’s localdev?
In your .lando.xml config file, add/update the php config value to your desired PHP version. See the example below.
lando.xml
recipe: pantheon
config:
framework: wordpress
php: 7.3
After you’ve updated it, make sure you rebuild the site environment in localdev.
All comments posted on 'Change Pantheon’s localdev PHP version' are held for moderation and only published when on topic and not rude. Get a gold star if you actually read & follow these rules.
You may write comments in Markdown. This is the best way to post any code, inline like `<div>this</div>` or multiline blocks within triple backtick fences (```) with double new lines before and after.
Want to tell me something privately, like pointing out a typo or stuff like that? Contact Me.