How to install php-devel in CentOS/RHEL 10 (x86_64)

Files needed for building PHP extensions

License: PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND NCSA AND BSL-1.0 Vendor: GetPageSpeed LLC http://www.php.net/

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-devel

Description

The php-devel package contains the files needed for building PHP extensions. If you need to compile your own PHP extensions, you will need to install this package.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-devel-8.4.27-1.9.el10.gps.x86_64 783 KiB 2026-11-12 GetPageSpeed
- Built for GetPageSpeed repositories
php-devel-8.4.27-1.8.el10.gps.x86_64 783 KiB 2026-11-07 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe