How to Install PHP Extensions on CentOS 8

June 9, 2020 Liquid Web

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

Commands used:
dnf install dnf-utils dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm -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 on our KB.

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
How to Install Node.js on Windows
How to Install Node.js on Windows

In this video, we describe how to install Node.js on Windows.

Next Video
Grant Permissions to a MySQL User on Linux via Command Line
Grant Permissions to a MySQL User on Linux via Command Line

In this video, we describe how to grant permissions to a MySQL user via the command line.

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now