Browse Source

Lowered PHP requirement to 5.3.7

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
68adc6117e
  1. 2
      framework/composer.json
  2. 4
      framework/yii/requirements/requirements.php

2
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": "*"
},

4
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' => '<a href="http://www.yiiframework.com">Yii Framework</a>',
'memo' => 'PHP 5.3.11 or higher is required.',
'memo' => 'PHP 5.3.7 or higher is required.',
),
array(
'name' => 'Reflection extension',

Loading…
Cancel
Save