First, check out this article: https://pantheon.io/docs/php-versions/
1.) Look for the pantheon.yml file in the /code/ directory.
- If it’s not there, create one.
- If it is there, edit it.
2.) Add the following code:
So the pantheon.yml file will look exactly like this:
4.) Upload the file via SFTP to Pantheon in your /code/ directory
5.) Commit the code and leave a good commit message, like this:
6.) You’re done!
Still need help? Contact Us
Last updated on June 26, 2019