LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2011, 05:53 AM   #1
gamlis
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
GD for PHP5


Hi,

I need to get the graphic module GD work with PHP5. The package is installed but I can't get it to work with PHP5. We have an Apache server with Red Hat Enterprise Linux 5. Please advice.

Package name gd
Update system YUM
Package description A graphics library for quick creation of PNG or JPEG images
Current state Running latest 2.0.33-9.4.el5_4.2
Installed version 2.0.33-9.4.el5_4.2
Available version 2.0.33-9.4.el5_4.2
Installation source Installed
 
Old 07-25-2011, 05:58 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,742

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Welcome to LQ.


# yum search php gd : Will show all php* and gd.

# yum install php-gd
 
Old 07-25-2011, 06:02 AM   #3
gamlis
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you. Well I get this:

> yum search php gd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
================================= Matched: gd ==================================
gdm.i386 : The GNOME Display Manager.
gd.i386 : A graphics library for quick creation of PNG or JPEG images
gd-devel.i386 : The development libraries and header files for gd
gdb.i386 : A GNU source-level debugger for C, C++, Java and other languages
gdbm.i386 : A GNU set of database routines which use extensible hashing.
gdbm-devel.i386 : Development libraries and header files for the gdbm library.
glib2-devel.i386 : The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support
: library
sysklogd.i386 : System logging and kernel message trapping daemons.
zenity.i386 : Display dialog boxes from shell scripts

================================= Matched: php =================================
php-pear.noarch : PHP Extension and Application Repository framework
iproute.i386 : Advanced IP routing and network device configuration tools.
php.i386 : The PHP HTML-embedded scripting language. (PHP: Hypertext
: Preprocessor)
php-cli.i386 : Command-line interface for PHP
php-common.i386 : Common files for PHP
php-devel.i386 : Files needed for building PHP extensions.
php-ldap.i386 : A module for PHP applications that use LDAP.
php-mysql.i386 : A module for PHP applications that use MySQL databases.
php-odbc.i386 : A module for PHP applications that use ODBC databases.
php-pdo.i386 : A database access abstraction module for PHP applications
php-pgsql.i386 : A PostgreSQL database module for PHP.
readline.i386 : A library for editing typed command lines.
readline-devel.i386 : Files needed to develop programs which use the readline
: library.
> yum install php-gd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package php-gd available.
Nothing to do
 
Old 07-25-2011, 06:36 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,742

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
'Redhat EL' is usable with a Redhat account only.

When your system is registred in the RHN (Red Hat Network),
you can login to rhn.redhat.com , and activate the software channel on your system.

May be the "RHEL Server Optional" channel is required for php-gd ?
Please ask 'Redhat Support'.
 
Old 07-25-2011, 01:46 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by gamlis View Post
Thank you. Well I get this:

> yum search php gd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
================================= Matched: gd ==================================
gdm.i386 : The GNOME Display Manager.
gd.i386 : A graphics library for quick creation of PNG or JPEG images
gd-devel.i386 : The development libraries and header files for gd
gdb.i386 : A GNU source-level debugger for C, C++, Java and other languages
gdbm.i386 : A GNU set of database routines which use extensible hashing.
gdbm-devel.i386 : Development libraries and header files for the gdbm library.
glib2-devel.i386 : The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support
: library
sysklogd.i386 : System logging and kernel message trapping daemons.
zenity.i386 : Display dialog boxes from shell scripts

================================= Matched: php =================================
php-pear.noarch : PHP Extension and Application Repository framework
iproute.i386 : Advanced IP routing and network device configuration tools.
php.i386 : The PHP HTML-embedded scripting language. (PHP: Hypertext
: Preprocessor)
php-cli.i386 : Command-line interface for PHP
php-common.i386 : Common files for PHP
php-devel.i386 : Files needed for building PHP extensions.
php-ldap.i386 : A module for PHP applications that use LDAP.
php-mysql.i386 : A module for PHP applications that use MySQL databases.
php-odbc.i386 : A module for PHP applications that use ODBC databases.
php-pdo.i386 : A database access abstraction module for PHP applications
php-pgsql.i386 : A PostgreSQL database module for PHP.
readline.i386 : A library for editing typed command lines.
readline-devel.i386 : Files needed to develop programs which use the readline
: library.
> yum install php-gd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package php-gd available.
Nothing to do

Something not quite right with your set-up/subscription; php-gd is
part of the package stream in RHEL, should be visible like all the
other php packages ...
 
  


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
php5 if-else @ngelot Programming 2 02-11-2008 05:00 AM
installing src php5 or tar php5 step by step jatender Linux - Software 2 06-28-2007 11:29 AM
FC 6 - php5 idgeitman Fedora 1 01-08-2007 11:43 PM
Need Some Help With PHP5 mtndew Linux - Software 3 01-30-2006 11:07 PM
php5 Hampster Linux - Software 4 01-09-2005 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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