How to install php-pecl-mcrypt in CentOS/RHEL 7 (x86_64)
Bindings for the libmcrypt library
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install php-pecl-mcrypt
Description
Bindings for the unmaintained libmcrypt library, removed from PHP core in 7.2. Use only for legacy code; prefer OpenSSL or Sodium for new work.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| php-pecl-mcrypt-1.0.7-2.el7.x86_64 | 27 KiB | 2026-10-29 |
Danila Vershinin - GetPageSpeed EL7 build of PECL mcrypt for the 7.2-8.3 channels (drop-in · for Remi's php-pecl-mcrypt 1.0.7-1, same name, relations verbatim) |