drop php 5.5 support
This commit is contained in:
@@ -8,7 +8,7 @@ Download the latest release from our [website](http://www.espocrm.com).
|
||||
|
||||
### Requirements
|
||||
|
||||
* PHP 5.5 or above (with pdo, json, gd, mcrypt extensions);
|
||||
* PHP 5.6 or above (with pdo, json, gd, openssl, zip, imap, mbstring, curl extensions);
|
||||
* MySQL 5.1 or above.
|
||||
|
||||
For more information about server configuration see [this article](http://blog.espocrm.com/administration/server-configuration-for-espocrm/).
|
||||
|
||||
@@ -32,7 +32,7 @@ return array(
|
||||
'apiPath' => '/api/v1',
|
||||
|
||||
'requirements' => array(
|
||||
'phpVersion' => '5.5',
|
||||
'phpVersion' => '5.6',
|
||||
|
||||
'phpRequires' => array(
|
||||
'JSON',
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ $config = include('core/config.php');
|
||||
require_once 'core/SystemHelper.php';
|
||||
$systemHelper = new SystemHelper();
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.5.0', '<')) {
|
||||
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
|
||||
die(str_replace('{minVersion}', $config['requirements']['phpVersion'], $langs['messages']['phpVersion']) . '.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user