LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-18-2007, 03:10 PM   #1
Ionexchange
LQ Newbie
 
Registered: Apr 2004
Location: Tampa, Fl
Distribution: Fedora Core 2 and 3
Posts: 21

Rep: Reputation: 15
Apache and PHP with GD not installed


So a while back I tried to update my Fedora Core 2 to 3 using yum. It didn't go very well, mostly because of my wireless card. So I'm running a fedora core 2 kernel 2.6.10 yet I have some packages that are FC3. In the process of the update, I'm assuming that apache and php were also updated. Right now it is stated that I have Apache 2.0 and PHP 4.3. Using the
Code:
phpinfo()
script is also stated that PHP was
Code:
./configure --with-gd
and Apache with shared objects. I'm not sure if it is nessisary, but cannot find gd.so anywhere. So, the long and short of it, before I updated Apache and PHP a php page of mine worked and now after this update it cannot find the GD functions it needs. I've tried to use
Code:
yum install php-gd
but the repositories cannot find that packaged. Any suggestions on repositories that have php-gd or a method around my problem.
I was thinking about reinstalling Apache and PHP, but I don't want to do that because I like the way Apache is set up and I don't like the fact there will be two versions of Apache floating around. I am always worried of the bin files and other files that are located in strange places conflicting. Thanks in advance.
 
Old 10-19-2007, 02:29 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
I'm not sure if it is nessisary, but cannot find gd.so anywhere.
The library name is libgd.so. Make sure that gd is installed in your system.

Regards
 
Old 10-20-2007, 08:20 AM   #3
Ionexchange
LQ Newbie
 
Registered: Apr 2004
Location: Tampa, Fl
Distribution: Fedora Core 2 and 3
Posts: 21

Original Poster
Rep: Reputation: 15
I have libgd.so and libgd.a. Thanks

Last edited by Ionexchange; 10-20-2007 at 02:09 PM.
 
Old 10-21-2007, 09:09 PM   #4
TheZodiac
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
Add this line to your "php.ini" file(s) (usually located in "/etc/php4/"),
Code:
extension=libgd.so
Then restart Apache with "apache2ctl restart". And hopefully the GD-library will turn up.
 
  


Reply



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
Apache 2 installed 1.3 and won't configure for php H-Radical Linux - Server 6 12-30-2006 10:33 PM
installed apache, mysql -- help with php machiner Linux - Software 2 07-28-2004 01:36 PM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 05:27 PM
php installed but no sign of libphp4.so (apache needs it) unholy Linux - General 6 01-18-2004 05:15 PM
Linux 8.0 installed with Apache 2.0, PHP and MySQL fmagoufis Linux - Newbie 1 12-12-2002 01:13 PM

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

All times are GMT -5. The time now is 04:33 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
Open Source Consulting | Domain Registration