Erro PHP – GD Library extension not available with this PHP installation Ubuntu Nginx

The GD Graphics Library is for dynamically manipulating images. For Ubuntu you should install it manually:

PHP5: sudo apt-get install php5-gd
PHP7: sudo apt-get install php7.0-gd
That’s all, you can verify that 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

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *