From 68adc6117e42ad28e7026c7aae5d641354a1a780 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 23 May 2013 12:38:42 +0400 Subject: [PATCH] Lowered PHP requirement to 5.3.7 --- framework/composer.json | 2 +- framework/yii/requirements/requirements.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/composer.json b/framework/composer.json index 4ef6f89..2f0e85f 100644 --- a/framework/composer.json +++ b/framework/composer.json @@ -64,7 +64,7 @@ "source": "https://github.com/yiisoft/yii2" }, "require": { - "php": ">=5.3.11", + "php": ">=5.3.7", "ext-mbstring": "*", "lib-pcre": "*" }, diff --git a/framework/yii/requirements/requirements.php b/framework/yii/requirements/requirements.php index bc53c03..0dbc1fc 100644 --- a/framework/yii/requirements/requirements.php +++ b/framework/yii/requirements/requirements.php @@ -9,9 +9,9 @@ return array( array( 'name' => 'PHP version', 'mandatory' => true, - 'condition' => version_compare(PHP_VERSION, '5.3.11', '>='), + 'condition' => version_compare(PHP_VERSION, '5.3.7', '>='), 'by' => 'Yii Framework', - 'memo' => 'PHP 5.3.11 or higher is required.', + 'memo' => 'PHP 5.3.7 or higher is required.', ), array( 'name' => 'Reflection extension',