centos 7安装phpMyadmin

时间:2023-03-10 02:20:41
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>