LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-22-2004, 08:15 PM   #1
radonski
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Simple RPM problem


ARGH. I wrote an entire post, submitted it and found I can;t post any URLs. I understand why that is, but it's a bit unfortunate that I have to retype my entire post. I'll keep it short:

I am installing PHP 5.0.2. I receive the error:

libxml2 version 2.5.10 or greater required.

I Tried to install libxml2 2.5.10 (downloaded it from rpmfind.net) but I learned I still get the error, because I used the src.rpm file.

Do you know where I can get a 'normal' rpm? Or should I install it in another way?
 
Old 10-22-2004, 08:42 PM   #2
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Since you didn't post what distro you're using, there's no way I can point you to the exact file. Here's a link to every libxml2 file on rpmfind.net:

http://rpmfind.net/linux/rpm2html/se...mit=Search+...

When you find the one for your distro, just pick a .rpm file instead of src.rpm.
 
Old 10-22-2004, 09:58 PM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
use yum with fedora

I am using fedora core 2, and just installed it now using yum. I guess the latest stable version listed in my yum repositories was 4.3.8-2.1

I took awhile using yum (it needed to track down the following dependencies)

php-mbstring
apr 0.9.4-11
php-pear
apr util
httpd 2.0.51-2.7

But it was all handled automatically in about 20 minutes.
 
Old 10-22-2004, 10:08 PM   #4
radonski
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Ehawk, I would really like an application that handles this sort of thing for me, but I am new to Linux, and fooling around with it like this just teaches me more about how it works I hope.

I now use PHP 4.3.7 and Apache 2.0.5 on Red Hat 8.0.

I have switched to an older PHP version because I just couldn't het the dependency issue fixed with installing libxml2. Now, my libxml2 problem is gone, but I run into 1 (hopefully final) problem.

I have edited httpd.conf and added the lines

LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c

This returns the error

Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration.

Since I copy-pasted the lines from the INSTALL file, misspellings are not the issue. What module am I missing and how to get it installed?

Last edited by radonski; 10-22-2004 at 10:10 PM.
 
  


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
SUSE 9.3 RPM what Software is installed a Simple way to check Martin Rasch SUSE / openSUSE 2 07-18-2005 01:26 PM
simple rpm and libraries question whitehole Fedora 1 10-18-2004 10:58 AM
very quick/simple rpm question thugbot3oo5 Linux - Newbie 13 03-03-2004 01:31 PM
simple redhat9 rpm install destroys whole OS qwijibow Linux - Newbie 9 07-14-2003 02:46 PM
Simple RPM Question f1uke Linux - Newbie 3 06-05-2003 03:12 PM

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

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