How to install php-gd on Amazon Linux
A module for PHP applications for using the gd graphics library
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2012.03 | Base | 5.3.3 |
Description
The php-gd package contains a dynamic shared object that will add support for using the gd graphics library to PHP.
Built for Amazon Linux.
Install
Base
Amazon Linux 2012.03
php-gd on Amazon Linux 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-gd
Package downloads require an active GetPageSpeed subscription — one repository for php-gd and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php-gd on Amazon Linux?
Add the GetPageSpeed repository, then install the php-gd package with your system package manager.
Which Amazon Linux versions is php-gd available for?
php-gd is available for Amazon Linux 2012.03.