hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Installing gd
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Installing gd

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-14-2007, 07:54 AM
howsthat howsthat is offline
Junior Guru
 
Join Date: Aug 2007
Posts: 193

Installing gd


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

Reply With Quote


Sponsored Links
  #2  
Old 10-14-2007, 08:23 AM
vps-and-vpn vps-and-vpn is offline
Disabled
 
Join Date: Oct 2007
Posts: 15
Is it installed? "rpm -qa | grep gd"

Maybe, it needs to be activated in apache.

Reply With Quote
  #3  
Old 10-14-2007, 08:26 AM
PCS-Chris PCS-Chris is online now
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

Reply With Quote
Sponsored Links
  #4  
Old 10-14-2007, 10:32 AM
david510 david510 is offline
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

Reply With Quote
  #5  
Old 10-14-2007, 01:07 PM
howsthat howsthat is offline
Junior Guru
 
Join Date: Aug 2007
Posts: 193
Quote:
Originally Posted by vps-and-vpn View Post
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

Reply With Quote
  #6  
Old 10-14-2007, 01:09 PM
howsthat howsthat is offline
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

Reply With Quote
  #7  
Old 10-14-2007, 01:27 PM
vps-and-vpn vps-and-vpn is offline
Disabled
 
Join Date: Oct 2007
Posts: 15
Seems to be installed. Edit php.ini and add "extension=gd.so". Reload apache.

Reply With Quote
  #8  
Old 10-14-2007, 01:38 PM
howsthat howsthat is offline
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

Reply With Quote
  #9  
Old 10-14-2007, 02:00 PM
howsthat howsthat is offline
Junior Guru
 
Join Date: Aug 2007
Posts: 193
plz assist me further

Reply With Quote
  #10  
Old 10-14-2007, 03:19 PM
vps-and-vpn vps-and-vpn is offline
Disabled
 
Join Date: Oct 2007
Posts: 15
Do you run php5 or php4?

Reply With Quote
  #11  
Old 10-14-2007, 11:11 PM
howsthat howsthat is offline
Junior Guru
 
Join Date: Aug 2007
Posts: 193
Have php4..

Reply With Quote
  #12  
Old 10-15-2007, 05:01 AM
david510 david510 is offline
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

Reply With Quote
  #13  
Old 10-15-2007, 06:20 AM
vps-and-vpn vps-and-vpn is offline
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.

Reply With Quote
  #14  
Old 10-15-2007, 09:55 AM
howsthat howsthat is offline
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

Reply With Quote
  #15  
Old 10-15-2007, 10:16 AM
david510 david510 is offline
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

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Ex-HostGator Employee Charged with Installing Backdoor to Access 2,700 Servers Web Hosting News 2013-04-19 17:38:42
Site24x7 Offers Website Monitoring Service via New WHMCS Plug-in Web Hosting News 2013-04-19 12:16:46
SoftLayer Technologies Offers Private Cloud Automation Option Web Hosting News 2013-03-07 16:39:13
Softaculous Releases Auto Installer Version 4.1.7 Web Hosting News 2012-12-19 16:45:21
Rogue Antivirus Campaign Tricks WordPress Users, Infects 30,000 Sites Web Hosting News 2012-03-08 12:10:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?