Solved

Yum PHP Dependency Issue

Posted on 2008-10-16
3
1,031 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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 a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

815 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

12 Experts available now in Live!

Get 1:1 Help Now