Installer ou activer l'extension GD de PHP
apt-get install php-gd
Viluma
apt-get install php-gd
Check if in your php.ini file has the following line:
;extension=php_gd2.dll
if it does, remove the ";", then save the file and reload apache.