From ba844c4382ac4d7d972d34ef669934b34b187804 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 21 Nov 2017 11:03:41 +0200 Subject: [PATCH] drop php 5.5 support --- README.md | 2 +- install/core/config.php | 2 +- install/index.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60316ea487..3acd5ccfe4 100644 --- a/README.md +++ b/README.md @@ -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/). diff --git a/install/core/config.php b/install/core/config.php index 4291199dc3..a607f8d228 100644 --- a/install/core/config.php +++ b/install/core/config.php @@ -32,7 +32,7 @@ return array( 'apiPath' => '/api/v1', 'requirements' => array( - 'phpVersion' => '5.5', + 'phpVersion' => '5.6', 'phpRequires' => array( 'JSON', diff --git a/install/index.php b/install/index.php index 9ee6f2b668..a00ca203cf 100644 --- a/install/index.php +++ b/install/index.php @@ -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']) . '.'); }