-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
情景
~ pecl install mcrypt
pecl/mcrypt requires PHP (version >= 7.2.0, version <= 8.1.0, excluded versions: 8.1.0), installed version is 8.1.4
No valid packages found
install failed如上,截止 2022-04-12 为止, mcrypt 都还不支持 php 8.1+ 的版本
解决办法
pecl install -n mcrypt只能先忽略版本要求,强行安装,将就用着先
~ pecl install -n mcrypt
warning: pecl/mcrypt requires PHP (version >= 7.2.0, version <= 8.1.0, excluded versions: 8.1.0), installed version is 8.1.4
downloading mcrypt-1.0.4.tgz ...
Starting to download mcrypt-1.0.4.tgz (27,056 bytes)
.........done: 27,056 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
...