mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 06:46:51 +02:00
Set minimum requirements to PHP 7.3.6
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
## mm/dd/2020
|
||||
|
||||
1. [](#new)
|
||||
* Set minimum requirements to **PHP 7.2.5**
|
||||
* Set minimum requirements to **PHP 7.3.6**
|
||||
* Added `FlexDirectoryInterface` interface
|
||||
* Renamed `PageCollectionInterface::nonModular()` into `PageCollectionInterface::pages()` and deprecated the old method
|
||||
* Renamed `PageCollectionInterface::modular()` into `PageCollectionInterface::modules()` and deprecated the old method'
|
||||
|
||||
@@ -21,7 +21,7 @@ The underlying architecture of Grav is designed to use well-established and _bes
|
||||
|
||||
# Requirements
|
||||
|
||||
- PHP 7.2.5 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements)
|
||||
- PHP 7.3.6 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements)
|
||||
- Check the [Apache](https://learn.getgrav.org/basics/requirements#apache-requirements) or [IIS](https://learn.getgrav.org/basics/requirements#iis-requirements) requirements
|
||||
|
||||
# QuickStart
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# UPGRADE FROM 1.6 TO 1.7.RC17
|
||||
|
||||
Grav 1.7 REQUIRES PHP 7.2.5
|
||||
Grav 1.7 REQUIRES PHP 7.3.6
|
||||
|
||||
## ADMINISTRATORS
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"homepage": "https://getgrav.org",
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.2.5 || ^8.0",
|
||||
"php": "^7.3.6 || ^8.0",
|
||||
"ext-json": "*",
|
||||
"ext-openssl": "*",
|
||||
"ext-curl": "*",
|
||||
@@ -80,7 +80,7 @@
|
||||
"config": {
|
||||
"apcu-autoloader": true,
|
||||
"platform": {
|
||||
"php": "7.2.5"
|
||||
"php": "7.3.6"
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
namespace Grav;
|
||||
|
||||
\define('GRAV_REQUEST_TIME', microtime(true));
|
||||
\define('GRAV_PHP_MIN', '7.2.5');
|
||||
\define('GRAV_PHP_MIN', '7.3.6');
|
||||
|
||||
if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) {
|
||||
die(sprintf('You are running PHP %s, but Grav needs at least <strong>PHP %s</strong> to run.', $ver, $req));
|
||||
|
||||
@@ -13,7 +13,7 @@ define('GRAV_TESTING', true);
|
||||
define('DS', '/');
|
||||
|
||||
if (!defined('GRAV_PHP_MIN')) {
|
||||
define('GRAV_PHP_MIN', '7.2.5');
|
||||
define('GRAV_PHP_MIN', '7.3.6');
|
||||
}
|
||||
|
||||
// Directories and Paths
|
||||
|
||||
@@ -31,8 +31,7 @@ class Install
|
||||
'name' => 'PHP',
|
||||
'versions' => [
|
||||
'7.4' => '7.4.0',
|
||||
'7.3' => '7.3.1',
|
||||
'7.2' => '7.2.5',
|
||||
'7.3' => '7.3.6',
|
||||
'' => '7.4.12'
|
||||
]
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user