Skip to content

chore: fix webimage_extra_packages example in config.yaml#8122

Merged
rfay merged 2 commits into
ddev:mainfrom
joelpittet:chore/webimage_extra_packages_example
Feb 10, 2026
Merged

chore: fix webimage_extra_packages example in config.yaml#8122
rfay merged 2 commits into
ddev:mainfrom
joelpittet:chore/webimage_extra_packages_example

Conversation

@joelpittet

Copy link
Copy Markdown
Contributor

The Issue

  • N/A

The default config.yaml example for webimage_extra_packages uses a hard-coded PHP version, which conflicts
with documentation that shows php${DDEV_PHP_VERSION}.

How This PR Solves The Issue

Updates the webimage_extra_packages example in the config template to use php${DDEV_PHP_VERSION} so it
matches the documentation and works across PHP versions.

Manual Testing Instructions

  1. (Optional) Generate a new project config and verify the example comment shows php${DDEV_PHP_VERSION}.

Automated Testing Overview

No tests added or required (documentation/example comment change only).

Release/Deployment Notes

None.

@joelpittet joelpittet requested a review from a team as a code owner February 10, 2026 01:00
@joelpittet

Copy link
Copy Markdown
Contributor Author

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@github-actions

github-actions Bot commented Feb 10, 2026

Copy link
Copy Markdown

@stasadev stasadev force-pushed the chore/webimage_extra_packages_example branch from 7f4ff17 to bb7bb3c Compare February 10, 2026 13:45
@stasadev stasadev requested a review from a team as a code owner February 10, 2026 13:45

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rfay rfay merged commit 82fe06a into ddev:main Feb 10, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants