How to install php70-gd on Ubuntu ?
Last Updated :
18 Aug, 2020
Graphics Draw or GD library is an open-source library for dynamic creation of images. It is used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM.
This package for PHP 7 can be installed via the PPA by Ondrej Surý. To install php7.0-gd on ubuntu, using the terminal. Follow these steps
- Next, update your repositories using the command
sudo apt-get update
Sample output for the update command in Ubuntu
Note: PHP v7.0 is outdated and is no longer supported, so the above command to install php7.0-gd may not work. But, installing php7.4-gd will work fine. Since it is relatively newer and officially supported.
Share your thoughts in the comments
Please Login to comment...