Installing gd extension


On Centos 6 and Centos 7

→ sudo yum install gd gd-devel php-gd
→ sudo service httpd restart


Done!