Skip to content

Commit 137b38f

Browse files
leducvinwebflo
authored andcommitted
Update php requirements in README.md
php 7.4 is minimum required version of php with respect to Drupal 9.4 and drush 11.
1 parent 7ed1e4f commit 137b38f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ section of composer.json:
123123

124124
### How do I specify a PHP version ?
125125

126-
This project supports PHP 7.3 as minimum version (see [Environment requirements of Drupal 9](https://www.drupal.org/docs/understanding-drupal/how-drupal-9-was-made-and-what-is-included/environment-requirements-of)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7.3+.
126+
This project supports PHP 7.4 as minimum version (see Drupal 9.4 [PHP requirements](https://www.drupal.org/docs/system-requirements/php-requirements#versions)) and [Drop official PHP 7.3 support in Drupal 9.4](https://www.drupal.org/project/drupal/issues/2917655), however it's possible that a `composer update` will upgrade some package that will then require PHP 7.4+.
127127

128128
To prevent this you can add this code to specify the PHP version you want to use in the `config` section of `composer.json`:
129129

130130
```json
131131
"config": {
132132
"sort-packages": true,
133133
"platform": {
134-
"php": "7.3.19"
134+
"php": "7.4.30"
135135
}
136136
},
137137
```

0 commit comments

Comments
 (0)