[root@home php5.2.10]# rpm --test -ivh php-gd-5.2.10-1.el5.remi.i386.rpm
error: Failed dependencies:
libt1.so.5 is needed by php-gd-5.2.10-1.el5.remi.i386
Solution:
1. search for "libt1 so 5 rpm" on google
[root@home php5.2.10]# yum install t1lib
[root@home php5.2.10]# rpm --test -ivh php-gd-5.2.10-1.el5.remi.i386.rpm
Preparing... ########################################### [100%]
[root@home php5.2.10]# rpm -ivh php-gd-5.2.10-1.el5.remi.i386.rpm
Preparing... ########################################### [100%]
1:php-gd ########################################### [100%]
[root@home php5.2.10]# service httpd reload
Reloading httpd:
[ OK ]
<php phpinfo(); ?> gd GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XPM Support enabled XBM Support enabled