1

我正在使用php5.5.12,并且我刚刚将其升级到php5.6.28.

即使我检查我当前的php版本,它也会显示PHP 版本 5.6.28使用http://localhost/?phpinfo=1.

这是我的 Composer.json

"require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.2.*",
        "illuminate/database": "~5.3",
        "illuminate/support": "~5.3",
        "laravel/cashier": "~7.0"
    },

但是当我运行命令时composer update ,它不断向我抛出错误

F:\wamp\www\punit\TPG>composer update
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.or
g/xdebug
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
    - illuminate/database v5.3.4 requires php >=5.6.4 -> your PHP version (5.5.12) does not satisfy that requirement.
    - illuminate/database v5.3.23 requires php >=5.6.4 -> your PHP version (5.5.12) does not satisfy that requirement.
    - illuminate/database v5.3.16 requires php >=5.6.4 -> your PHP version (5.5.12) does not satisfy that requirement.
    - illuminate/database v5.3.0 requires php >=5.6.4 -> your PHP version (5.5.12) does not satisfy that requirement.
    - Installation request for illuminate/database ~5.3 -> satisfiable by illuminate/database[v5.3.0, v5.3.16, v5.3.23,
v5.3.4].

错误说我正在使用php5.5.12.

我想安装Laravel Cashier

我有什么依赖吗?

4

0 回答 0