chore: fix webimage_extra_packages example in config.yaml#8122
Merged
rfay merged 2 commits intoFeb 10, 2026
Conversation
Contributor
Author
|
Download the artifacts for this pull request:
See Testing a PR. |
7f4ff17 to
bb7bb3c
Compare
stasadev
approved these changes
Feb 10, 2026
Member
There was a problem hiding this comment.
I pushed one more commit, because this didn't work:
webimage_extra_packages: [php${DDEV_PHP_VERSION}-tidy, php${DDEV_PHP_VERSION}-bcmath]It needed quotes.
$ ddev start
Adding custom/shell commands failed: /home/stas/code/ddev/d11/.ddev/config.yaml exists but cannot be read. It may be invalid due to a syntax error: unable to load config file /home/stas/code/ddev/d11/.ddev/config.yaml: invalid configuration in /home/stas/code/ddev/d11/.ddev/config.yaml: yaml: line 17: did not find expected ',' or ']'
Failed to start project(s): /home/stas/code/ddev/d11/.ddev/config.yaml exists but cannot be read. It may be invalid due to a syntax error: unable to load config file /home/stas/code/ddev/d11/.ddev/config.yaml: invalid configuration in /home/stas/code/ddev/d11/.ddev/config.yaml: yaml: line 17: did not find expected ',' or ']'
Thank you, looks good to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue
The default
config.yamlexample forwebimage_extra_packagesuses a hard-coded PHP version, which conflictswith documentation that shows
php${DDEV_PHP_VERSION}.How This PR Solves The Issue
Updates the
webimage_extra_packagesexample in the config template to usephp${DDEV_PHP_VERSION}so itmatches the documentation and works across PHP versions.
Manual Testing Instructions
php${DDEV_PHP_VERSION}.Automated Testing Overview
No tests added or required (documentation/example comment change only).
Release/Deployment Notes
None.