作曲家安装抱怨PHP 7.2,但我正在运行PHP 7.3

时间:2019-10-21 00:11:57

标签: composer-php centos7 symfony4 php-7.3

我有一个symfony4项目,并且正在运行composer安装,但是出现以下错误:

Problem 1
- ocramius/package-versions 1.5.1 requires php ^7.3.0 -> your PHP version (7.2.23) does not satisfy that requirement.
- ocramius/package-versions 1.5.1 requires php ^7.3.0 -> your PHP version (7.2.23) does not satisfy that requirement.
- Installation request for ocramius/package-versions 1.5.1 -> satisfiable by ocramius/package-versions[1.5.1].

但是,如果我使用php -v

这就是我得到的:

PHP 7.3.10 (cli) (built: Sep 30 2019 22:02:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.10, Copyright (c) 1999-2018, by Zend Technologies

有人可以帮我吗?

欢呼声, d

0 个答案:

没有答案