Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
> 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
> 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 ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.