This article originates from: Http://blog.csdn.net/svitter
Citation derived from: http://hi.baidu.com/owbtkcjhtmaeuyr/item/175d53ff2ad985b231c1991e
Troubleshooting Apache Boot Error "httpd:could not reliably determine ..."
Locate httpd.conf
Vim httpd.conf
Under #servername www.example.com:80 add:
ServerName localhost:80
Rpmforge Software Library installation phpMyAdmin enabled in the CentOS system:
The 64-bit system uses the following command :
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
The 32-bit system uses the following command:
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
You can now install the phpMyAdmin command as follows:
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