CentOS下配置phpMyAdmin
本文出自: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
推荐阅读
-
phpmyadmin 下载 MAC OS X环境下配置APACHE+PHP+MYSQL+PHPMYADMIN
-
CentOS下与Apache连接的PHP多版本共存方案实现详解,_PHP教程
-
windows2008下配置iis+mysql+phpmyadmin运行phpmyadmin提示异常
-
Windows下使用PuTTY连接Centos7、Linux系统目录结构、一些操作命令
-
Windows7下PHP开发环境安装配置图文方法_PHP教程
-
Phpmyadmin安装配置方法图解教程
-
MySQL之—CentOS下以RPM方式安装MySQL5.5详细介绍
-
在Debian系统下配置LNMP的教程,debianlnmp_PHP教程
-
Windows下XDebug 手工配置与使用说明_PHP教程
-
CentOS下安装启动MySQL及调用QT