It does not matter what change you make to the file.Modify your pantheon.yml file and re-commit to the Multidev. You must make an additional modification to your pantheon.yml file to initiate the PHP version update in your Multidev if you created a new branch and added a Multidev after configuring your PHP version in the pantheon.yml file. Your Multidev configuration will automatically detect and apply the PHP version change from the pantheon.yml file. Change the PHP Version on an Existing Multidevįollow the steps to Configure Your PHP Version. A PHP version change will not appear in a Multidev created after your pantheon.yml changes are made. PHP version changes (and other configuration changes) are automatically detected when you modify the pantheon.yml file of a site with a pre-existing Multidev. Modify the pantheon.yml file until it is valid and commit the fix before attempting to push again. Remote: Changes to `pantheon.yml` detected, but there was an error while processing it: The example below shows a failed attempt to set the PHP version to 12: If there is a problem with the file, the dashboard will fail to commit and display the error. If the contents of pantheon.yml are valid, you can commit normally. Your Site Dashboard will detect the changes when you upload a new or modified pantheon.yml file in SFTP mode. The next time you push your changes to Pantheon, your site will begin using the newly specified PHP version. Now your site’s PHP version is determined via pantheon.yml, and managed in version control.Pull changes to your local repository (if you have one). Refresh the Dev environment tab and verify that the pantheon.yml file is now committed to the master branch. Go to the Site Dashboard and refresh the Dev environment tab to verify that the pantheon.yml file is available to commit.Įnter a commit message and click Commit changes. Navigate to your SFTP client and refresh the /code directory to verify that the pantheon.yml file has been created and contains the changed version. You do not need to specify the PHP version's exact point release (for example, 8.1.10), as these are managed by the platform and deployed automatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |