Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-06-2005, 11:11 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 10

Rep: Reputation: 0
fedora core 4 + apache + php - how install gd2 support?

How i install gd2 support for this system? apache and php are installed and they work fine.
Old 08-06-2005, 05:58 PM   #2
LQ Newbie
Registered: Aug 2005
Location: Sweden
Distribution: KANOTIX, Fedora
Posts: 18

Rep: Reputation: 0
I am running Fedoar Core 4, with gd-2.0.33-2. The easy way is to do a
yum install php-gd
This will install apache, php and php-gd version 2.

If this does not work, I recommend you to download the php-5.0.4-10.3.src.rpm and install it
rpm -i php-5.0.4-10.3.src.rpm
Edit the lines saying "--without-gd" to "--with-gd" in the file "/usr/src/redhat/SPEC/php.spec".

Recompile php and install it as root, when compiling has finished:
rpmbuild -bb /usr/src/redhat/SPEC/php.spec
cd /usr/src/redhat/RPMS/i386
rpm -Uh php-*
Old 08-06-2005, 07:15 PM   #3
LQ Newbie
Registered: Aug 2005
Posts: 10

Original Poster
Rep: Reputation: 0

Thanks for that!

but how i Recompile php?

And do i have to do some changes to php.ini? or somewhere else? to get gd2 work?

i'm newbie so..

Last edited by rehtorisi; 08-06-2005 at 07:24 PM.
Old 08-23-2005, 11:32 AM   #4
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Thanks a million Hasse! I haven't got a clue what:

yum install php-gd
actually does but for me it worked great!

I've seen the command yum around a bit, what is it? An auto download and install app?

(btw, complete newbie, I guess it's obvious)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 3 And PHP + Apache xbigs Fedora 1 12-17-2005 07:24 AM
uninstaling php and apache on fedora core 3 mhatre kedar Linux - Networking 1 03-20-2005 04:58 AM
fedora core 2 install with no cd-rom support mdcapt Fedora - Installation 4 08-17-2004 09:46 PM
Apache PhP MSQL - if they come with fedora core 1 where are they Virtualhate Linux - Newbie 1 05-16-2004 08:33 PM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:31 PM.

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