Is there a php-gd command for php7?

December 24, 2015 32.2k views
WordPress PHP LAMP Stack PHP Frameworks

Hello,

i was working on my LAMP install for multiple wordpress site's
they spoke of the command :

sudo apt-get install php5-gd

but i wanted to try and install my LAMP stack with PHP7
so i tried php7-gd but didn't work.

is there such a code for php7 ?

Thanks
Dieter

1 comment
4 Answers

Try php7.0-gd

Try this php 7
sudo apt-get install php7.0-gd

Try this for php 7.1
sudo apt-get install php7.1-gd

sudo apt-get install php7.0-gd

Have another answer? Share your knowledge.