Skip to content

Commit 8afb834

Browse files
committed
Bump minimum PHP version to 5.3
1 parent e95a422 commit 8afb834

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,14 @@ Follow the instructions in the [documentation on drupal.org](https://www.drupal.
124124

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

127-
Currently Drupal 7 supports PHP 5.2.5 as minimum version (see [Drupal 7 PHP requirements](https://www.drupal.org/docs/7/system-requirements/drupal-7-php-requirements)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7+.
127+
This project supports PHP 5.3 as minimum version (see [Drupal 7 PHP requirements](https://www.drupal.org/docs/7/system-requirements/php-requirements)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7+.
128128

129129
To prevent this you can add this code to specify the PHP version you want to use in the `config` section of `composer.json`:
130130
```json
131131
"config": {
132132
"sort-packages": true,
133-
"platform": {"php": "5.2.5"}
133+
"platform": {
134+
"php": "5.3.3"
135+
}
134136
},
135137
```

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.2.5",
19+
"php": ">=5.3.3",
2020
"ext-curl": "*",
2121
"ext-gd": "*",
2222
"ext-json": "*",

0 commit comments

Comments
 (0)