Skip to content

Mcrypt Not Matched PHP > 8.1 #116

Description

@lanlin

情景

~ 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
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions