?
Solved

Yum PHP Dependency Issue

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
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…
Suggested Courses

649 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