LinuxQuestions.org
Visit Jeremy's Blog.
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 08-03-2012, 04:15 AM   #1
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Rep: Reputation: 0
Smile how to install gd in php-5.4.5


Dear all,

I have installed php-5.4.5.tar.gz in my linux box by using the below link http://laffers.net/howtos/howto-install-php/ and now in my system i want to install gd in my php and how do i install gd in already installed php.5.4.5,can any one help me on this

Thanks,
 
Old 08-03-2012, 04:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Your link : http://laffers.net/howtos/howto-install-php/ :
That's a short configure line for php ! Usually 70+ options are included.

Please have a look into the file php.spec in ...
http://dl.fedoraproject.org/pub/fedo...1.fc17.src.rpm
> php-5.4.1-1.fc17.src.rpm

Amonst the many included options, you will find (line 702..918):
--with-gd=shared
--enable-gd-native-ttf

I.e. you will have to recompile php with gd to have it included.

.
 
Old 08-03-2012, 04:59 AM   #3
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Original Poster
Rep: Reputation: 0
Hi !

How do i recompile php with gd to have it included using php-5.4.1-1.fc17.src.rpm and can u please explain

Thanks,
 
Old 08-03-2012, 05:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Which 'Linux OS' are you using ?

Name and version, please.
 
Old 08-03-2012, 05:06 AM   #5
ramecare
Member
 
Registered: Feb 2011
Posts: 179

Original Poster
Rep: Reputation: 0
Iam using CentOS release 5.6 (Final) and Apache 2.4.2
 
  


Reply


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
Getting Error: Missing Dependency: php-common, when trying to install php-soap amish123 Linux - Software 3 02-18-2010 07:26 PM
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 02:07 AM
install php post apache install tekmann33 Linux - Newbie 2 10-10-2007 02:09 AM
manually install mysql, php, and apache or install from CD? FiveFlat Linux - Software 5 12-15-2005 01:12 PM
What to type in apt-get install to install mysql PHP libraries sarajevo Debian 1 09-29-2005 05:40 AM

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

All times are GMT -5. The time now is 10:56 AM.

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