Open the Terminal/SSH and type the following command.
Verify first PHP GD Support is enabled or not.
Code: Select all
php -i | grep -i --color gd
Code: Select all
# php -i | grep -i --color gd
/etc/php5/cli/conf.d/20-gd.ini,
gd
GD Support => enabled
GD Version => 2.1.1-dev
gd.jpeg_ignore_warning => 0 => 0
Install GD library
Code: Select all
sudo apt-get install php5-gd
Code: Select all
sudo service apache2 restart