LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2008, 08:29 AM   #1
SomnathG
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
LINUX PHP GD configuration


Dear All,

I am using Red Hat linux and have installed PHP 4.4.7 version. Now I want to add GD library with that installed PHP. How can I do that? How can I check that GD library is not installed. Please let me know. It's very urgent.

Thank You
 
Old 10-20-2008, 11:07 AM   #2
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
Quote:
Originally Posted by SomnathG View Post
Dear All,

I am using Red Hat linux and have installed PHP 4.4.7 version. Now I want to add GD library with that installed PHP. How can I do that? How can I check that GD library is not installed. Please let me know. It's very urgent.

Thank You
What version of RH Linux? If you're using RHEL 5 then just "yum install php-gd".

If you're using some ancient version of old RedHat like RedHat 9 then, err, you shouldn't be because it is EOL and unsupported.

As an aside, PHP 4.x is also EOL as of 2008-08-08 so you really shouldn't be using that in a production environment either.
 
Old 10-20-2008, 11:40 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Create yourself a php info script to view from your server:

Code:
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
Or you can run php -m to display all modules loaded, which gd is usually loaded as.

As for the older version of PHP, well, Red Hat is behind in the times, they'll use what was stable at the time. PHP 4.x was recently decommissioned for use, I'm sure Red Hat will come up to speed sooner or later.

But yeah, Red Hat should have available the php-gd package, which usually gets loaded by default if you install php, even in RHEL 4 versions.
 
Old 10-21-2008, 03:43 AM   #4
SomnathG
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Red Hat Linux 9

Quote:
Originally Posted by trickykid View Post
Create yourself a php info script to view from your server:

Code:
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
Or you can run php -m to display all modules loaded, which gd is usually loaded as.

As for the older version of PHP, well, Red Hat is behind in the times, they'll use what was stable at the time. PHP 4.x was recently decommissioned for use, I'm sure Red Hat will come up to speed sooner or later.

But yeah, Red Hat should have available the php-gd package, which usually gets loaded by default if you install php, even in RHEL 4 versions.
I have been installed red hat linux 9, and installed PHP 4.4.7. Which version of gd should I install for gif, jpeg and png and How I will be able to do so? Please let me know.
 
Old 10-22-2008, 12:31 PM   #5
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
Quote:
Originally Posted by SomnathG View Post
I have been installed red hat linux 9, and installed PHP 4.4.7. Which version of gd should I install for gif, jpeg and png and How I will be able to do so? Please let me know.
RedHat Linux 9 doesn't exist any more. It has been EOL for over 4 years! Why are you using it?

If you want a free version of RedHat-like Linux suitable for a server then use CentOS 5.x - using that you won't have any problems installing php-gd
 
Old 10-22-2008, 12:40 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Quote:
Originally Posted by SomnathG View Post
I have been installed red hat linux 9, and installed PHP 4.4.7. Which version of gd should I install for gif, jpeg and png and How I will be able to do so? Please let me know.
So why are you posting the same question in multiple threads?

http://www.linuxquestions.org/questi...dation-678316/

Did you not read my replies? If not, go read them again, they're pretty clear with the actions you need to take to move forward with a solution for yourself.
 
  


Reply

Tags
gd


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 02:31 AM
PHP configuration MohamedReyas Linux - Software 9 11-09-2007 09:45 PM
PHP Configuration? gurl4sh25 Linux - Software 7 07-29-2007 10:40 PM
PHP Configuration Kronux Linux - Software 3 02-25-2005 05:28 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration