
10-14-2007, 07:54 AM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
Trying to install gd library but not able to..
When i do yum install php-gd it says nothing to do..
Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net.. Help me out
|

10-14-2007, 08:23 AM
|
|
Disabled
|
|
Join Date: Oct 2007
Posts: 15
|
|
Is it installed? "rpm -qa | grep gd"
Maybe, it needs to be activated in apache.
|

10-14-2007, 08:26 AM
|
|
Premium Member
|
|
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 2,851
|
|
Just uncomment the extension in your php.ini file
__________________
System Administrator
» Follow me on twitter: Here
|

10-14-2007, 10:32 AM
|
|
Web Hosting Master
|
|
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
|
|
Use these steps to install gd.
Code:
wget http://www.libgd.org/releases/gd-2.0.35.tar.gz
tar -zvxf gd-2.0.35.tar.gz
./configure --prefix=/usr
make
make install
__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android
|

10-14-2007, 01:07 PM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
Quote:
Originally Posted by vps-and-vpn
Is it installed? "rpm -qa | grep gd"
Maybe, it needs to be activated in apache.
|
its gives me this
gdbm-1.8.0-26.2.1
php-gd-5.1.6-12.el5
sysklogd-1.4.1-39.2
gd-2.0.33-9.3.fc6
gdbm-devel-1.8.0-26.2.1
gd-progs-2.0.33-9.3.fc6
gd-devel-2.0.33-9.3.fc6
how what..
and in php.ini there is no extension for gd.. its ther for windows
|

10-14-2007, 01:09 PM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
should i do what david said or is gd already installed.. coz that rpm command has that php-gd
|

10-14-2007, 01:27 PM
|
|
Disabled
|
|
Join Date: Oct 2007
Posts: 15
|
|
Seems to be installed. Edit php.ini and add "extension=gd.so". Reload apache.
|

10-14-2007, 01:38 PM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
i added extension=gd.so but it dint work.. i check my extension dir in php but there is no such file named gd.so
|

10-14-2007, 02:00 PM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
|

10-14-2007, 03:19 PM
|
|
Disabled
|
|
Join Date: Oct 2007
Posts: 15
|
|
|

10-14-2007, 11:11 PM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
|

10-15-2007, 05:01 AM
|
|
Web Hosting Master
|
|
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
|
|
You may try recompiling php with option --enable-gd. Do you have any control panel installed on the server?
__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android
|

10-15-2007, 06:20 AM
|
|
Disabled
|
|
Join Date: Oct 2007
Posts: 15
|
|
You have php4 running, but php-gd-5.1.6-12.el5 (php5-module) installed. Install the module for php4.
|

10-15-2007, 09:55 AM
|
|
Junior Guru
|
|
Join Date: Aug 2007
Posts: 193
|
|
Thats what.. How do i recompile it.. I have cpanel but its not working as i its licence is over.. Can i upgrade to php 5.. If yes tell which is the most stable php5 version.. Or i will keep using 4 but how to install gd
|

10-15-2007, 10:16 AM
|
|
Web Hosting Master
|
|
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
|
|
You can use the easyapache script to update the php version or recompile the existing php version. Make sure you enable gd during the recompilation. You may use the php version 5.2.2 if considering upgradation.
__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|