PDA

View Full Version : php-gd installation issue


mita29
06-27-2008, 04:17 PM
Does anyone know what's wrong with the following message. I just could not get the php-gd installed. Any advice would be appreciated.

yum install php-gd

Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-gd.i386 0:5.1.6-3.el4s1.8 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
php-gd i386 5.1.6-3.el4s1.8 centosplus 102 k

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 102 k
Is this ok [y/N]: Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 175, in main
base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 654, in doTransaction
if not self.userconfirm():
File "/usr/share/yum-cli/output.py", line 116, in userconfirm
choice = raw_input('Is this ok [y/N]: ')
EOFError: EOF when reading a line


> rpm -q php-gd
package php-gd is not installed
> yum search php-gd
Searching Packages:
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished


php-gd.i386 5.1.6-3.el4s1.8 centosplus
Matched from:
php-gd
The php-gd package contains a dynamic shared object that will add
support for using the gd graphics library to PHP.


php-gd.i386 4.3.9-3.22.9 base
Matched from:
php-gd
The php-gd package contains a dynamic shared object that will add
support for using the gd graphics library to PHP.

mita29
06-28-2008, 01:38 AM
Finally, I got it installed with


yum -y install php-gd

Now i can use my imagecreate() ;)