现在要求php7.0以上
composer create-project --prefer-dist yiisoft/yii2-app-advanced apitpl
Installing yiisoft/yii2-app-advanced (2.0.22)
- Installing yiisoft/yii2-app-advanced (2.0.22): Loading from cache
Created project in apitpl
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for codeception/verify ~1.0.0 -> satisfiable by codeception/verify[1.0.0]
.
- codeception/verify 1.0.0 requires php >= 7.0 -> your PHP version (5.6.27) does not satisfy tha
t requirement.
Problem 2
- phpunit/phpunit 6.5.9 requires php ^7.0 -> your PHP version (5.6.27) does not satisfy that req
uirement.
- phpunit/phpunit 6.5.8 requires php ^7.0 -> your PHP version (5.6.27) does not satisfy that req
uirement.
- phpunit/phpunit 6.5.7 requires php ^7.0 -> your PHP version (5.6.27) doe