Report this

What is the reason for this report?

install/enable GD2 library ?

Posted on July 28, 2015

hello,

i have php gd installed and on the latest version but the script i am trying to install insists that i need to have GD2 enabled/installed, i looked everything, there’s nothing about GD2 or just extremely old posts

please help, thank you



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!

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.

PHP’s GD extension will be using the version of the GD library that is provided with your operating system. If you’re using a modern operating system such as Ubuntu 12.04 or 14.04, then you’ll be using GD2.

You can confirm the version of the GD library that PHP is using by checking the output of the PHP function phpinfo().

Alternatively, you can test this from the command line with with the command:

php -i | grep "GD Version"

On a server managed by ServerPilot where multiple versions of PHP are available, the command is slightly different as you need to specify which PHP version in the PHP command:

php5.6-sp -i | grep "GD Version"

The output will look something like this:

GD Version => bundled (2.1.0 compatible)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.