centos install php ext-gd code example
Example: centos :Install or enable PHP gd extension.
yum install gd gd-devel php-gd
and then restart apache:
service httpd restart
yum install gd gd-devel php-gd
and then restart apache:
service httpd restart