LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-04-2011, 06:52 AM   #1
danndp
Member
 
Registered: Nov 2010
Posts: 51

Rep: Reputation: 2
How to install php-xmlrpc on CentOS 5.5


Hello my friends,

I'm trying to install php-xmlrpc on CentOS 5.5 and is not working, i downloaded the rpm, and tried to install:

Quote:
# rpm -ivh php-xmlrpc-5.1.6-27.el5.i386.rpm
error: Failed dependencies:
php-common = 5.1.6-27.el5 is needed by php-xmlrpc-5.1.6-27.el5.i386
Then i check for php-common:

Quote:
# yum install php-common.i386
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.mirror.xtratelecom.es
* base: centos.mirror.xtratelecom.es
* extras: centos.mirror.xtratelecom.es
* updates: ftp.free.fr
Setting up Install Process
Package matching php-common-5.1.6-27.el5_5.3.i386 already installed. Checking for update.
Nothing to do
Why is this happening? any help?

Thanks!
 
Old 02-04-2011, 08:00 AM   #2
devUnix
Member
 
Registered: Oct 2010
Posts: 606

Rep: Reputation: 59
Uninstall PHP package from your system.

Move the new RPM / Package to your repository (the directory that contains the packages on the Yum Server, that is).

Try installing the PHP package by running the yum command and its appropriate options for your package.

Code:
yum install php*

Note: RPM does not resolve any dependecies problem. It can only report them. So, use yum instead.
 
Old 02-04-2011, 09:14 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please use # yum install php-xmlrpc


Why install packages with an rpm command ? ?
Anyway : The install command used by yum is 'rpm -Uvh <package>.

'rpm -ivh' : Used when you want two versions of the same package
installed at the same time.

..
 
  


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
Unable to install Memcached with PHP 5.2 on CentOS samarudge Linux - Server 1 11-19-2010 12:43 PM
hldstart, php-xmlrpc & Updating - New Slackware User paulmcginniss20 Slackware 5 04-20-2008 09:54 AM
xmlrpc.php - webmaster strategies for battling botnets v00d00101 Linux - Security 15 02-07-2007 01:31 AM
Problems setting up XMLRPC with Apache and PHP eikeland Linux - Software 0 04-05-2006 07:59 PM
PHP xmlrpc problem. Jim44 Programming 0 02-20-2006 11:14 AM

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

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