LinuxQuestions.org
Register a domain and help support LQ
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 12-22-2008, 02:48 PM   #1
stokeska
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Enable GD for PHP on RHE Server 5.2


How Can I enable the GD library for PHP5?

It suposed to be installed, I did

# yum install php-gd

[/etc/php.d]# ls
./ ../ dbase.ini gd.ini ldap.ini mysqli.ini mysql.ini pdo.ini pdo_mysql.ini pdo_sqlite.ini

# cat gd.ini
; Enable gd extension module
extension=gd.so

# rpm -qa | grep php
php-gd-5.1.6-20.el5_2.1
php-common-5.1.6-20.el5_2.1
php-ldap-5.1.6-20.el5_2.1
php-mysql-5.1.6-20.el5_2.1
php-pdo-5.1.6-20.el5_2.1
php-cli-5.1.6-20.el5_2.1
php-5.1.6-20.el5_2.1


Then restart the httpd

When I check the phpinfo() the GD is not listed, so I cannot use these functions.

I do not know what else I can do.

I have Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Thank you for your help
 
Old 12-22-2008, 08:22 PM   #2
yzhong
Member
 
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56

Rep: Reputation: 16
We also use GD for PHP on RHE 5.2
(the difference is we use postgresql and we also install php-xml...)
please check the following info, hope will give you some hints

]# rpm -qa|grep php
php-cli-5.1.6-20.el5_2.1
php-ldap-5.1.6-20.el5_2.1
php-pdo-5.1.6-20.el5_2.1
php-gd-5.1.6-20.el5_2.1
php-common-5.1.6-20.el5_2.1
php-pgsql-5.1.6-20.el5_2.1
php-5.1.6-20.el5_2.1
php-xml-5.1.6-20.el5_2.1
 
  


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
Difference between rhe advanced platform and rhe desktop? darsunt Red Hat 4 09-08-2007 01:04 PM
MS 2003 server on a RHE domain PCSStanley Linux - Networking 11 07-26-2007 05:28 AM
enable GD support in php samnjugu Linux - Software 3 07-11-2006 01:16 AM
Enable PHP ProTrooper Linux - Software 1 08-24-2005 04:26 PM
RHE, Ensim Basic for RHE, Plesk for RHE xbaez Linux - Software 0 09-21-2004 10:45 AM


All times are GMT -5. The time now is 11:09 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