yum install php-gd

  然后重启服务器:

service httpd restart