CentOS下配置phpMyAdmin
Jun 07, 2016 pm 03:57 PM本文出自:http://blog.csdn.net/svitter 引文出自:http://hi.baidu.com/owbtkcjhtmaeuyr/item/175d53ff2ad985b231c1991e 解决apache启动错误httpd:Could not reliably determine... locate httpd.conf vim httpd.conf 在#ServerName www.example.com:80下
本文出自:http://blog.csdn.net/svitter
引文出自:http://hi.baidu.com/owbtkcjhtmaeuyr/item/175d53ff2ad985b231c1991e
解决apache启动错误"httpd:Could not reliably determine..."
locate httpd.conf
vim httpd.conf
在#ServerName www.example.com:80下添加:
ServerName localhost:80
CentOS系统中启用RPMForge软件库安装phpMyAdmin:
64位系统使用如下命令:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
32位系统使用如下命令:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.i386.rpm
现在可以安装phpMyAdmin如下命令:
yum install phpmyadmin
vim /usr/share/phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['auth_type'] = 'config'; //Server for cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Where does the wordpress database exist?

How to read USB disk files in centos7

SCP usage tips-recursively exclude files

What should I do if navicat cannot connect?

How to enable root permissions in centos7

How to change the default password of Empire CMS

How to enter root permissions in centos
