How to Install PHP Extensions on CentOS 8

In this video, we describe how to install PHP extensions on CentOS 8.

Commands used:
dnf install dnf-utils dnf install dnf-utils -y
dnf module list php
dnf module reset php -y
dnf module enable php:remi-7.4 -y
dnf install php -y
php -v
dnf install redis -y
systemctl enable –now redis
systemctl enable –now redis.service
dnf install -y php-pecl-redis5
php -m | grep redis
systemctl restart php-fpm.service

The related article for this article can be found here:

For more information about this and other topics, visit us at or to learn more about our Dedicated Cloud offering, visit:

Video by: Justin Palmer

Duration: 00:02:46
Publisher: Liquid Web
You can watch this video also at the source.

Inxy Hosting CDN Marketplace