Wednesday, April 14, 2010

easy way to install php gd on linux

[root@dev ~]# yum install php-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.eshk.hk
* base: mirror.eshk.hk
* extras: mirror.eshk.hk
* rpmforge: fr2.rpmfind.net
* updates: mirror.eshk.hk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-gd.i386 0:5.1.6-24.el5_4.5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
php-gd i386 5.1.6-24.el5_4.5 updates 116 k

Transaction Summary
=============================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 116 k
Is this ok [y/N]: y
Downloading Packages:
php-gd-5.1.6-24.el5_4.5.i386.rpm | 116 kB 00:18
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-gd 1/1

Installed:
php-gd.i386 0:5.1.6-24.el5_4.5

Complete!


[root@dev ~]# echo "extension=gd.so" >> /etc/php.ini

No comments:

Post a Comment

Followers

About Me

My photo

My Name is Yogesh Malik, I am working in Times Group.