?
Solved

Yum PHP Dependency Issue

Posted on 2008-10-16
3
Medium Priority
?
1,065 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 2000 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

777 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