PHP Version 5.4.28
Далее делаю как в гайде:
Код: Выделить всё
curl -s http://getcomposer.org/installer | php -d detect_unicode=Off
mv composer.phar /usr/local/bin/composer
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
Код: Выделить всё
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package php could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package php could not be found in any version, there may be a typo in the package name.
Problem 3
- yiisoft/yii2 dev-master requires php >=5.4.0 -> no matching package found.
- yiisoft/yii2 2.0.0-beta requires php >=5.4.0 -> no matching package found.
- yiisoft/yii2 2.0.0-alpha requires php >=5.4.0 -> no matching package found.
- Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.0-alpha, 2.0.0-beta, dev-master].