centos7.2安装phpmyadmin
首先服务器要有web 环境 yum install phpmyadmin 有时候会安装不成功,提示没有可用软件包,则需要安装Remi源? ? ?修改/etc/http.conf/conf.d/phpMyadmin.conf <span style="color: #800080;">$cfg['Servers'][<span style="color: #800080;">$i]['host'] = 'localhost'<span style="color: #000000;">; <span style="color: #008000;">//<span style="color: #008000;">设定MySQL所在的主机名或IP地址。如127.0.0.1这步很重要 <span style="color: #800080;">$cfg['Servers'][<span style="color: #800080;">$i]['auth_type'] = 'cookie'<span style="color: #000000;">; <span style="color: #800080;">$cfg['Servers'][<span style="color: #800080;">$i]['user'] = 'root'<span style="color: #000000;"> ; <span style="color: #800080;">$cfg['Servers'][<span style="color: #800080;">$i]['password'] = ''<span style="color: #000000;"> ; ,:访问 /etc/rc.d/rc.<span style="color: #000000;">httpd restart ubuntu、Debian 系统命令: /etc/init.d/<span style="color: #000000;">apache2 restart Fedora 、Redhat、CentOS系统重启Apache命令: /etc/init.d/<span style="color: #000000;">httpd restart ? (编辑:青岛站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |