543310 543310 - 7 months ago 298
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.


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