LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 05-20-2009, 08:04 AM   #1
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13
Thanked: 1
installing GD


[Log in to get rid of this advertisement]
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.
MiKANiSe is offline  
Tag This Post
Reply With Quote
Old 05-20-2009, 08:24 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,044
Thanked: 224
You have to install the php5-gd package

Regards
bathory is offline  
Tag This Post , ,
Reply With Quote
Old 05-20-2009, 08:37 AM   #3
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13
Thanked: 1

Original Poster
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 08:41 AM..
MiKANiSe is offline  
Tag This Post ,
Reply With Quote
Old 05-20-2009, 08:56 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,044
Thanked: 224
It looks like a bug. Read the last post here for the solution.

Regards
bathory is offline     Reply With Quote
Old 05-20-2009, 09:10 AM   #5
MiKANiSe
LQ Newbie
 
Registered: Mar 2009
Posts: 13
Thanked: 1

Original Poster
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!
MiKANiSe is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 11:45 AM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 02:14 PM
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 02:27 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 03:15 AM


All times are GMT -5. The time now is 11:21 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration