If Not True Then False

Install phpMyAdmin 4.3.10 on Fedora 21/20, CentOS/RHEL 6.6/5.11 - Comment Page: 3

This is guide, howto install phpMyAdmin 4.3.10 with Nginx or Apache on Fedora 21/20/19, CentOS 7/6.6/5.11 and Red Hat (RHEL) 7/6.6/5.11 servers. phpMyAdmin needs web server with PHP and MySQL database. This guide uses Apache web server with PHP 5.6 or Nginx web server with PHP 5.6 (PHP-FPM) and MySQL 5.6 database server or MariaDB 10/5.5 database server. You can also use your already installed...
Categories:

118 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

dhenyismail


[website1@website1 ~]$ sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
[sudo] password for website1:
Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.8OGCXY: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[website1@website1 ~]$ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
warning: /var/tmp/rpm-tmp.nSb289: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Preparing... ########################################### [100%]
package remi-release-6.5-1.el6.remi.noarch is already installed
[website1@website1 ~]$

reply Reply
dhenyismail

I install phpMyAdmin.


[website1@website1 ~]$ sudo yum --enablerepo=remi install phpmyadmin
[sudo] password for website1:
Loaded plugins: fastestmirror, refresh-packagekit, security

Error getting repository data for remi, repository not found
[website1@website1 ~]$ sudo yum --enablerepo=remi,remi-test install phpmyadmin
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.upsi.edu.my
* extras: centos.mirror.secureax.com
* updates: ossm.utm.my
Setting up Install Process
No package phpmyadmin available.
Error: Nothing to do
[website1@website1 ~]$

reply Reply
JR

Hi dhenyismail,

Please run first following command:


yum clean all

Then, could you post output of following commands:


yum --enablerepo=remi repolist

yum --enablerepo=remi info phpmyadmin
reply Reply
UltraG33k

Hi!
Great tutorial, but I have a minor problem.
When I try to install phpmyadmin with:


yum --enablerepo=remi install phpmyadmin

## And

yum --enablerepo=remi,remi-test install phpmyadmin

I get these errors:


Error: Package: php-bcmath-5.4.28-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.28-1.el6.remi
Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.12-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.27-1.el6.remi
Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.28-1.el6.remi
Error: Package: php-recode-5.4.28-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.28-1.el6.remi
Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.12-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.27-1.el6.remi
Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.28-1.el6.remi
Error: Package: php-tidy-5.4.28-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.28-1.el6.remi
Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.12-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.27-1.el6.remi
Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.4.28-1.el6.remi
Error: Package: phpMyAdmin-4.1.14-1.el6.remi.noarch (remi)
Requires: php-gmp
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-gmp
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-gmp
Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
php-gmp
Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
php-gmp
Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I’ve tried doing the yum clean all. So here’s the output of yum –enablerepo repolist and yum –enablerepo=remi info phpmyadmin:


[root@Snoopy ~]# yum --enablerepo=remi repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.fysik.dtu.dk
* epel: mirrors.coreix.net
* extras: mirror.informatik.hs-fulda.de
* remi: mirror.1000mbps.com
* updates: ftp.plusline.de
repo id repo name status
base CentOS-6 - Base 6,367
epel Extra Packages for Enterprise Linux 6 - x86_64 10,769
extras CentOS-6 - Extras 14
nginx nginx repo 56
remi Les RPM de remi pour Enterprise Linux 6 - x86_64 1,494
updates CentOS-6 - Updates 883
repolist: 19,583

[root@Snoopy ~]# yum --enablerepo=remi info phpmyadmin
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.fysik.dtu.dk
* epel: mirrors.coreix.net
* extras: mirror.informatik.hs-fulda.de
* remi: mirror.1000mbps.com
* updates: ftp.plusline.de
Available Packages
Name : phpMyAdmin
Arch : noarch
Version : 4.1.14
Release : 1.el6.remi
Size : 4.7 M
Repo : remi
Summary : Web based MySQL browser written in php
URL : http://www.phpmyadmin.net/
License : GPLv2+
Description : phpMyAdmin is a tool written in PHP intended to handle the administration of
: MySQL over the Web. Currently it can create and drop databases,
: create/drop/alter tables, delete/edit/add fields, execute any SQL statement,
: manage keys on fields, manage privileges,export data into various formats and
: is available in 50 languages

Oh, and other informations:

OS: CentOS 6.5 (Final)
Web service: nginx
PHP version: 5.5.12

I hope you can help me resolve these problems.

reply Reply
JR

Hi UltraG33k,

I have to update this guide, when I have time to test this on every system.

Try following install command instead:


yum --enablerepo=remi,remi-php55 install phpmyadmin
reply Reply
jacob

yes I was having the same problem but this seems to have solved it, just changed 55 to 56 for my system fedora 20 php5.6.

reply Reply
JR

Excellent, you are welcome! I will update and check this guide soon with latest version.

reply Reply
stefan

Hello, I struggled for two days and fail to install phpmyadmin.
My configuration is: vps, centos 6, nginx, mysql. I tried everything you wrote and every time I get “This page can’t be displayed”. I do not know what to do, perhaps I’ll send my account details that you look there?

Thanks for everything you do for us.

reply Reply
stefan

Now I have this error:


[root@jocurionlinegratis ~]# service nginx start
Starting nginx: nginx: [emerg] unknown directive "PK" in /etc/nginx/sites-enabled/phpMyAdmin-4.2.0-all-languages.zip:2
[FAILED]
[root@jocurionlinegratis ~]#

reply Reply
Isabella

Hi JR,

I have RHEL server 6.5. I followed your instructions to installed Apache 2.2, PHP 5.5.13, MySQL 5.5.38. They work great!
However when I install phpmyadmin with yum –enablerepo=remi,remi-php55 install phpmyadmin
I got this error:
Error: Package: php-recode-5.5.13-3.el6.remi.x86_64 (remi-php55)
Requires: librecode.so.0()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

Would you please help me out? Thanks a lot!
Isabella

reply Reply
Carl

Hi JR,

I follow your instruction to install Apache Server, MySQL and phpadmin.
However, after the installation, I got a 404 not found error when I try to test myphpmin on http://localhost/phpmyadmin.
Is there anything I can check to find out the problem?
Thanks a lot!!

reply Reply
Carl

I found the solution!

Just to soft link the folder from /usr/share/phpMyAdmin to /var/www/html:
sudo ln -s /usr/share/phpMyAdmin /var/www/html/phpMyAdmin

Thanks a lot!!

reply Reply
Wilhemina

Pretty! This has been an extremely wonderful post. Thanks for supplying this information.

reply Reply
UltraG33k

Hi again!

I just installed Fedora 21 on my server. Is this tutorial still compatible?

reply Reply
JR

Hi UltraG33k,

Yes, it should be. I haven’t tested this yet, but if you install following remi repo:


rpm -Uvh http://rpms.famillecollet.com/remi-release-21.rpm

Then it should work. phpMyAdmin version is of course newer.

Please let me know how it goes and I update this guide. :)

reply Reply