Solved

Yum PHP Dependency Issue

Posted on 2008-10-16
3
1,020 Views
Last Modified: 2013-12-13
Hi,

I run Centos5 but with PHP compiled (by the host) from Fedora because of a need for PHP 5.2.6. All works fine in principle.

I now have a need to add php-mbstring.

When I run yum install php-mbstring I get:

Error: Missing Dependency: php-common = 5.1.6-20.el5_2.1 is needed by package php-mbstring

But when I run yum list php-common I get:

php-common.x86_64                        5.2.6-1.el5.remi       installed

Update php-common results in nothing to do.

So it seems as if php-mbstring needs a lower version of php-common than the one I already have. That's unfortunately where my package management skills end.

BTW I get the same when trying to install php-gd

How can get php-mbstring on here?
0
Comment
Question by:T0PS3O
  • 2
3 Comments
 
LVL 1

Author Comment

by:T0PS3O
Comment Utility
I found an RPM here of a more up to date PHP-MbString package but have no clue how to use it or whether it would even solve my issue:

http://rpm.pbone.net/index.php3/stat/4/idpl/9390853/com/php-mbstring-5.2.6-2.i386.rpm.html

Is that what I need? How do I use it?
0
 
LVL 5

Expert Comment

by:Devario Johnson
Comment Utility
try this


yum update
if this does not work try
yum upgrade
then
yum update mod_php

0
 
LVL 5

Accepted Solution

by:
Devario Johnson earned 500 total points
Comment Utility
if the above doesnt work and u need to know how to install that rpm...then

log on as admin

*log in as regular user then type su -
then enter admin password.

then make sure you have the link to the actual rpm package DIRECTLY on your clipboard

in the shell type

wget then (right click, in putty this is paste)

<press enter key>

'this will download the file.....then

rpm -i php-mbstring-5.2.6-2.i386.rpm

That will install the rpm for you

reboot
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now