Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-09-2011, 03:27 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 17

Rep: Reputation: 0
problem on phpMyAdmin installation


I am working on a RHEL, 2.6.32-71.18.2.e16.x86_64. I am trying to use yum to install phpMyAdmin.noarch (3.3.10-1.el6 epel). Here is the error message:

# yum install phpMyAdmin
Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.3.10-1.el6 set to be updated
--> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.3.10-1.el6.noarch
--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.3.10-1.el6.noarch
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.2-6.el6_0.1 set to be updated
---> Package phpMyAdmin.noarch 0:3.3.10-1.el6 set to be updated
--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.3.10-1.el6.noarch
--> Finished Dependency Resolution
Error: Package: phpMyAdmin-3.3.10-1.el6.noarch (epel)
           Requires: php-mbstring >= 5.2.0
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
There isn't php-mbstring in yum repo. I then downloaded php-mbstring-5.3.2-6.el6.x86_64.rpm and installed it:

# rpm -ivh php-mbstring-5.3.2-6.el6.x86_64.rpm 
error: Failed dependencies:
	php-common = 5.3.2-6.el6 is needed by php-mbstring-5.3.2-6.el6.x86_64
But php-common was installed:
# yum list installed|grep php-common
php-common.x86_64                 5.3.2-6.el6_0.1          @rhel-x86_64-server-6
Then, I don't know what I can do for that. Please help to see if anything wrong. Thanks!

Last edited by doublealice; 05-09-2011 at 04:02 PM.
Old 05-09-2011, 05:10 PM   #2
LQ Newbie
Registered: Mar 2011
Posts: 17

Original Poster
Rep: Reputation: 0
Here are what I have installed for php related packages:

# yum list installed|grep -i php
php.x86_64                        5.3.2-6.el6_0.1          @rhel-x86_64-server-6
php-cli.x86_64                    5.3.2-6.el6_0.1          @rhel-x86_64-server-6
php-common.x86_64                 5.3.2-6.el6_0.1          @rhel-x86_64-server-6
php-mcrypt.x86_64                 5.3.2-3.el6              @epel                
php-mysql.x86_64                  5.3.2-6.el6_0.1          @rhel-x86_64-server-6
php-pdo.x86_64                    5.3.2-6.el6_0.1          @rhel-x86_64-server-6
I wonder if php-mbstring was no longer a single package for php 5.3. Otherwise, it should be list in yum. Was php-mbstring included in any other package?

It seems that the manually downloaded php-mbstring rpm cannot recognize the version of installed php-common.

Please help. Many thanks!
Old 05-10-2011, 09:21 AM   #3
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,508

Rep: Reputation: 100Reputation: 100
You seem to be in classic .rpm hell.

Not advisable (some people might strongly object to this) but have you considered downloading the source for phpMyAdmin and installing it yourself?

E.g. in general it is NOT good to "mix" .rpm's (which install programs for you, and keep track "themselves" of what is installed) and hand-compiled / installed applications. The reason of course being that later, you might want to install an .rpm that depends on a certain library being present (for example), but since you might now have gone and installed that library "by hand", yum cannot find that it is present (since you did NOT install it via .rpm) and therefore the new .rpm's install will fail with a dependancy error for that library... even thought it IS installed and is working 100%...

E. g. it might literally be as easy as getting phpmyadmin and unzipping it in your webserver's folder. It could be that the phpMyAdmin .rpm you are trying to use looks for mbstring support in the installed PHP .rpm, and it is there, but it is just not finding it.

However, if you have a .rpm installed PHP, you might also be in the classic .rpm quandry - whoever composed the .rpm you installed PHP from, might not have compiled mbstring support into PHP before composing the .rpm containing that PHP instance.

This is the no. 1 reason I try to use .rpm as little as possible (even though I'm on Fedora!) In my case I do web development with PHP, Apache and MySQL, but I compile each of them myself, from source. This allows me to, for example, quickly recompile PHP with mbstring support if I encounter something (like phpMyAdmin) that require a facility or setting that I previously did not have switched on or set when I compiled PHP... whereas with .rpm, you're pretty much locked into whatever whomever composed that .rpm, decided was a worthy setting or feature set to include into the .rpm for that program / library...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpMyAdmin installation in Linux suse 10.0 satish_mads Member Intro 4 05-25-2010 07:28 AM
phpmyadmin installation on fedora sriphp Linux - Newbie 28 05-01-2009 02:22 AM
phpmyadmin installation on fedora sriphp Linux - Software 2 04-30-2009 12:07 PM
phpmyadmin installation on fedora sriphp Linux - Software 2 04-30-2009 12:06 PM
PHPMyAdmin 2.5.1 installation VincentB Linux - Software 3 07-19-2003 04:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration