I am using Laravel web framework on my ubuntu 14.04 server and Nginx web server, I have this error when I try to upload a file using <
The GD Graphics Library is for dynamically manipulating images. For Ubuntu you should install it manually:
sudo apt-get install php5-gdsudo apt-get install php7.0-gdsudo apt-get install php7.1-gdsudo apt-get install php7.2-gdsudo apt-get install php7.3-gdsudo apt-get install php7.4-gdThat'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