You can also just run “yum install php-gd”
[root@s15256513 ~]# yum install php-gd
Repository extras is listed more than once in the configuration
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@s15256513 ~]#
php-gd might already be installed, and you’ve got a config file problem:
rpm -q php-gd
phpinfo() won’t give you full results on modern PHP implementations if you just look at what was done through autoconf, you need to scroll down and look at what modules are loaded.
本文Dao Blog - 道博客版权所有,可转载,但需注明出处:http://www.daoblog.com/how-to-enable-gd2.html
下篇文章: Serv-U限制上传文件类型
上篇文章: Stop Your Father
"How to enable GD2" was posted on Tuesday, February 10th, 2009 at 12:43 am.


