Solved

Yum PHP Dependency Issue

Posted on 2008-10-16
3
1,050 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Author Comment

by:T0PS3O
ID: 22732833
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
ID: 22745929
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
ID: 22746007
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

734 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