Loading

centos 7安装phpMyadmin

1.phpmyadmin官网下载多语言包


2.找到libraries目录下的config.default.php
1)查找$cfg['PmaAbsoluteUri']
设置默认访问网址


2)查找$cfg['Servers'][$i]['host']
$cfg['Servers'][$i]['port']
设置默认访问主机和端口号


3)查找$cfg['Servers'][$i]['user']

$cfg['Servers'][$i]['password']
设置数据库账号密码


4)查找$cfg['Servers'][$i]['auth_type'] = 'cookie'
设置phpmyadmin访问类型

 

3.修改http.conf文件如下
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>

posted @ 2017-03-12 21:52  王树燚  阅读(301)  评论(0编辑  收藏  举报