How to install php72-php-devel on Amazon Linux
Files needed for building PHP extensions
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 7.2.34 |
Description
The php72-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.
Built for Amazon Linux.
Install
Base
Amazon Linux 2
php72-php-devel on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php72-php-devel
Package downloads require an active GetPageSpeed subscription — one repository for php72-php-devel and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php72-php-devel on Amazon Linux?
Add the GetPageSpeed repository, then install the php72-php-devel package with your system package manager.
Which Amazon Linux versions is php72-php-devel available for?
php72-php-devel is available for Amazon Linux 2.