Question

Is there a php-gd command for php7?

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

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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