How to install php-gd in CentOS/RHEL 10 (x86_64)
A module for PHP applications for using the gd graphics library
Install
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-gd
Description
The php-gd package contains a dynamic shared object that will add support for using the gd graphics library to PHP.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| php-gd-8.4.27-1.9.el10.gps.x86_64 | 46 KiB | 2026-11-12 |
GetPageSpeed - Built for GetPageSpeed repositories |
| php-gd-8.4.27-1.8.el10.gps.x86_64 | 46 KiB | 2026-11-07 |
GetPageSpeed - Built for GetPageSpeed repositories |