543310 543310 - 1 year ago 537
PHP Question

GD Library extension not available with this PHP installation Ubuntu Nginx

i am using

web framework on my
ubuntu 14.04
server and
web server , i have this error when i try to upload file using
to server.
my upload directory is on
folder that has 777 permission.

Answer Source

The GD Graphics Library is for dynamically manipulating images. For Ubuntu you need to install the package called php5-gd:

sudo apt-get install php5-gd

That's all, you can verify that php5-gd support loaded:

php -i | grep -i gd

Output should be like this:

GD Support => enabled
GD headers Version => 2.1.1-dev
gd.jpeg_ignore_warning => 0 => 0
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download