How to install php-gd (x86_64)

A module for PHP applications for using the gd graphics library

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
sudo yum -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.

RPMs

Package Size Built Changes
php-gd-7.4.33-41.amzn2.x86_64 96 KiB 2026-10-30 Danila Vershinin
- php -v and phpinfo Build Provider show the package release
php-gd-7.4.33-40.amzn2.x86_64 96 KiB 2026-10-29 Danila Vershinin
- support a license file at /etc/getpagespeed/license.jwt

Subscribe