LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2009, 07:04 AM   #1
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Rep: Reputation: 1
installing GD


How do I install GD to use it with php on my server?

I currently have only apache2 and php5 installed. I use Debian 5.0.
Please help, I am a total newb. Thank you.
 
Old 05-20-2009, 07:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You have to install the php5-gd package

Regards
 
Old 05-20-2009, 07:37 AM   #3
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by bathory View Post
You have to install the php5-gd package

Regards
I installed it, but when I type php5, I get

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: undefined symbol: gdImageCreateFromJpeg in Unknown on line 0

and if I try to use one of the functions of GD, like imagecreate in php ,I get a "Fatal error: Call to undefined function imagecreate()".

Last edited by MiKANiSe; 05-20-2009 at 07:41 AM.
 
Old 05-20-2009, 07:56 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
It looks like a bug. Read the last post here for the solution.

Regards
 
Old 05-20-2009, 08:10 AM   #5
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Smile

Quote:
Originally Posted by bathory View Post
It looks like a bug. Read the last post here for the solution.

Regards
OMG... I thought I could never get it to work, but now it works great. Thanks!
 
  


Reply

Tags
gd, php5



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 01:14 PM
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration