LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 09:00 AM   #2
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 576

Rep: Reputation: 48
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, 10:14 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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


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


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