1 Answer
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.
Your Answer