I installed php72-php-gd
, php70-php-gd
, 2 php-gd
in Amazon Linux 2 AMI server with
yum install php72-g
I can't get any information about GD library in php.info, the old server was Ubuntu 16.04.3 from DigitalOcean and works well there.
GD is an open source code library for the dynamic creation of images. GD is used for creating PNG, JPEG and GIF images and is commonly used to generate charts, graphics, thumbnails on the fly.
Mostly PHP 4 and higher versions comes with GD support. Some time it may not be enabled. To know this we can use phpinfo function and check GD support is available or not.
apt-get install php7.2-gd
works for me on Debian Stretch with this php7.2 packages php7.2 install
you have to know the name of the package you need, it differs from distro to distro and install it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With