执行以下命令时,我需要一些有关Yii2安装的帮助:
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2advanced
我明白了:
PS C:\xampp\htdocs> composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2advanced
Installing yiisoft/yii2-app-advanced (2.0.16)
- Installing yiisoft/yii2-app-advanced (2.0.16): Loading from cache
Created project in yii2advanced
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.15) does not satisfy that requirement.
Problem 2
- phpunit/phpunit 6.5.9 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.8 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.7 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.6 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.5 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.14 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.13 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.12 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.11 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- phpunit/phpunit 6.5.10 requires php ^7.0 -> your PHP version (5.6.15) does not satisfy that requirement.
- Installation request for phpunit/phpunit ~6.5.5 -> satisfiable by phpunit/phpunit[6.5.10, 6.5.11, 6.5.12, 6.5.13, 6.5.14, 6.5.5, 6.5.6, 6.5.7, 6.5.8, 6.5.9].
PS C:\xampp\htdocs>
我对基本模板没有问题。
现在高级应用需要PHP 7吗? 如何在没有php 7的情况下安装它?。
答案 0 :(得分:2)
开发人员不小心将 List<PointLatLng> points = new List<PointLatLng>();
points.Add(new PointLatLng(37.790658, 28.014990));
points.Add(new PointLatLng(37.790658, 29.014990));
GMapRoute routes = new GMapRoute(points, "routes");
添加到需要 GMapOverlay routeshow = new GMapOverlay("yeni rotasyon");
List<PointLatLng> points = new List<PointLatLng>();
points.Add(new PointLatLng(37.790658, 28.014990));
points.Add(new PointLatLng(37.790658, 29.014990));
GMapRoute routes = new GMapRoute(points, "routes");
routeshow.Routes.Add(routes);
GMapControl.Overlays.Add(routeshow);
的作曲家中。
U可以尝试添加"phpunit/phpunit": "~6.5.5"
"php: ^7.0"
或
使用--ignore-platform-reqs
进行编辑以添加伪造的php
composer create-project --prefer-dist --ignore-platform-reqs yiisoft/yii2-app-advanced yii2advanced