LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-20-2006, 11:22 AM   #1
cdm33
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
php with gd support - help anyone ?


So the question is:

I've built my box (lamp - linux, apache, mysql and php)with rpm's (packages) and with php I did not configure with "gd" libraries. I've alreay got a data base server that is in production. I'm going to use another application that will use the same database server - just use another database. But the problem is that this application requires the "gd" graphics libraries.

How do I install php with gd when with the original install I just did php with apache and mysql ?

Any help would be cool.

Thanks,
Chris
 
Old 11-20-2006, 11:37 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If your rpm-based PHP does not include the GD libs, you will probably have to install PHP from a source distribution. There you will need to enable the GD support, using configure. You may need to install the GD library, first. You should note that your application may require a 'special' version of the library, which supports .GIF formatted file creation. This was dropped from the library at some point, due to copyright and licensing issues.

--- rod.
 
Old 11-20-2006, 11:56 AM   #3
cdm33
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Rod,

Thanks for the quick response and your time. One more question - (i hope):

How do I know if the php rpm came with gd support and if it did how do i activate it ? (ok 2 questions.)

Thanks again.
 
Old 11-20-2006, 01:14 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I assume that if it is there, it is 'active'. If your application fails when it calls functions from the GD library, then you will probably have to install from sources, or find an RPM that has it. Perhaps the download source of the RPM has some information.

--- rod.
 
Old 11-20-2006, 01:48 PM   #5
cdm33
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Ok - I'll try that. Thanks .
 
  


Reply



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
enable GD support in php samnjugu Linux - Software 3 07-11-2006 12:16 AM
getting gd support for php pranith Slackware 6 06-23-2005 12:05 PM
php with gd support ryedunn Linux - Software 5 05-21-2005 01:41 PM
Php support with apache c00l Linux - Software 4 03-02-2005 04:30 PM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:13 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