~~~txt
配置yum源
命令:yum install epel-release
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
~~~
~~~txt
安装
命令:yuminstall--enablerepo=remi--enablerepo=remi-php56phpmyadmin
~~~
~~~txt
3) 配置phpMyAdmin
A:修改/etc/phpMyAdmin/config.inc.php
// $cfg['Servers'][$i]['controluser']
// $cfg['Servers'][$i]['controlpass'];
// $cfg['Servers'][$i]['pmadb'];
// $cfg['Servers'][$i]['bookmarktable'];
// $cfg['Servers'][$i]['relation'];
// $cfg['Servers'][$i]['table_info'];
// $cfg['Servers'][$i]['table_coords'];
// $cfg['Servers'][$i]['pdf_pages'];
// $cfg['Servers'][$i]['column_info'];
// $cfg['Servers'][$i]['history'];
去掉每行前面的//
$cfg['Servers'][$i]['controluser'];修改为你的帐号
$cfg['Servers'][$i]['controlpass']; 设置为你的mysql登录密码
B:修改/etc/httpd/conf.d/phpMyAdmin.conf ,修改成如下
<Directory /usr/share/phpMyAdmin/>
Order Deny,Allow
#Deny from All
Allow from All
</Directory>
~~~