0

Error: Unable to find a match: mcrypt

When installing Php Modules I only get an error for an Issue in installing php7.2-mcrypt.it shows me an error like this

how to install PHP mcrypt module on CentOS 8?

php-mcrypt Add a comment
iqbal
asked Feb 26 2021

Answer

0

The Remi repository contains the latest PHP packages for the CentOS 8 Linux system.execute the following command to add the repository.

sudo dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm

Then enable the required DNF module for PHP installation.

sudo dnf module reset php
sudo dnf module enable php:remi-7.4

Once the repository is enabled on your system. Install PHP packages along with required PHP modules.

dnf install php-gd php-zip php-mcrypt php-json php-xml php-gettext php-curl php-intl

then it will not show any error.

Add a comment
linuxhelp
asked Feb 26 2021
Post your Answer