ddev
PHP

PHP version

Changing PHP Version (opens in a new tab)

 # The project’s .ddev/config.yaml file defines the PHP version to use. The php_version can be changed to 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, or 8.2. The current default is 8.1.
 .ddev/config.yaml