php版本7.3.33, think-throttle可以安装,webman-throttle安装不了

WatcherLuo

composer require yzh52521/webman-throttle
Info from https://repo.packagist.org: #StandWithUkraine

[InvalidArgumentException]
Package yzh52521/webman-throttle has requirements incompatible with your PHP version, PHP extensions and Composer version:

  • yzh52521/webman-throttle v1.0.5 requires php >=7.4 which does not match your installed version 7.3.33.

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-wit
h-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap
-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

composer require yzh52521/webman-throttle

[InvalidArgumentException]
Package yzh52521/webman-throttle has requirements incompatible with your PHP version, PHP extensions and Composer version:

  • yzh52521/webman-throttle v1.0.5 requires php >=7.4 which does not match your installed version 7.3.33.

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-wit
h-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap
-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

为啥要限制php版本在7.4呢,生产环境版本都是7.3

1304 1 0
1个回答

yzh52521

已经支持 php7.3 安装了

年代过于久远,无法发表回答
🔝