Merge pull request #9003 from sminnee/min-php71-ss45

API: Drop PHP 5.6 and PHP 7.0 support in SS 4.5
This commit is contained in:
Robbie Averill 2019-05-23 13:57:06 +12:00 committed by GitHub
commit f06439f81e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 24 deletions

View File

@ -18,38 +18,22 @@ env:
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- php: 5.6 - php: 7.1
env: env:
- DB=PGSQL - DB=PGSQL
- PHPCS_TEST=1 - PHPCS_TEST=1
- PHPUNIT_TEST=framework - PHPUNIT_TEST=framework
- php: 7.0 - php: 7.2
env: env:
- DB=PGSQL - DB=PGSQL
- PDO=1 - PDO=1
- PHPUNIT_TEST=framework - PHPUNIT_TEST=framework
- php: 7.1
if: type IN (cron)
env:
- DB=MYSQL
- PHPUNIT_COVERAGE_TEST=framework
- php: 7.2
env:
- DB=MYSQL
- PDO=1
- PHPUNIT_TEST=framework
- php: 7.0
env:
- DB=MYSQL
- PHPUNIT_TEST=cms
- php: 7.3 - php: 7.3
env: env:
- DB=MYSQL - DB=MYSQL
- PDO=1
- PHPUNIT_TEST=framework - PHPUNIT_TEST=framework
- php: 7.4snapshot - php: 7.4snapshot
@ -61,6 +45,17 @@ matrix:
packages: packages:
- libonig-dev - libonig-dev
- php: 7.3
if: type IN (cron)
env:
- DB=MYSQL
- PHPUNIT_COVERAGE_TEST=framework
- php: 7.3
env:
- DB=MYSQL
- PHPUNIT_TEST=cms
before_script: before_script:
# Extra $PATH # Extra $PATH
- export PATH=~/.composer/vendor/bin:$PATH - export PATH=~/.composer/vendor/bin:$PATH

View File

@ -40,7 +40,7 @@
"symfony/config": "^3.2", "symfony/config": "^3.2",
"symfony/translation": "^2.8", "symfony/translation": "^2.8",
"symfony/yaml": "~3.2", "symfony/yaml": "~3.2",
"php": ">=5.6.0", "php": ">=7.1.0",
"ext-ctype": "*", "ext-ctype": "*",
"ext-dom": "*", "ext-dom": "*",
"ext-hash": "*", "ext-hash": "*",

View File

@ -8,11 +8,9 @@ Our web-based [PHP installer](installation/) can check if you meet the requireme
## Web server software requirements ## Web server software requirements
SilverStripe 4 has the following server requirements: SilverStripe 4.5 has the following server requirements:
* PHP 5.6, 7.0, 7.1 or 7.2 * PHP 7.1+ (5.6+ was supported 4.0 - 4.4, we dropped support for these 6 months after PHP EOL'd them)
* Note: Although we do our best to support 5.6 and 7.0, they are deprecated and [unsupported by the PHP Project](http://php.net/supported-versions.php).
If you are using these, we strongly recommend you to upgrade.
* Allocate at least 48MB of memory to each PHP process. (SilverStripe can be resource hungry for some intensive operations.) * Allocate at least 48MB of memory to each PHP process. (SilverStripe can be resource hungry for some intensive operations.)
* PHP requires a suitable CSPRNG (random number generator) source for generating random tokens, password salts etc. This can be any of the following, and most operating systems will have at least one source available: * PHP requires a suitable CSPRNG (random number generator) source for generating random tokens, password salts etc. This can be any of the following, and most operating systems will have at least one source available:
* PHP 7 `random_bytes()`: * PHP 7 `random_bytes()`: