Tags
Flutter
Asked 3 years ago
26 Oct 2021
Views 793
steave ray

steave ray posted

install php gd library at latest version

how to install PHP gd library at the latest version PHP 7

sudo apt-get install php5-gd

it show following error :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php5-gd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-gd' has no installation candidate

Rasi

Rasi
answered Feb 16 '22 00:00

install PHP 7 gd library by giving specific version of php 7 at command

sudo apt-get install php7.0-gd
jaggy

jaggy
answered Feb 16 '22 00:00



sudo apt-get install phpx.y-gd


x is version of the php and y is subversion of it.

so it become sudo apt-get install php7.1-gd
for php 7.1 version gd library
Post Answer