Configure phpMyAdmin in CentOS 5.8
I. Installation Package preparation, download the corresponding installation package
Http://pkgs.repoforge.org/phpmyadmin/
Phpmyadmin-2.11.11.3-2.el5.rf.noarch.rpm for CentOS5
Ii. yum Installation
# Yum localinstall phpmyadmin-2.11.11.3-2.el5.rf.noarch.rpm -- nogpgcheck
Parameter -- nogpgcheck skip the certificate check procedure
3. modify configuration parameters
Parameters after installation
The phpmyadmin program directory is/usr/share/phpmyadmin. the user and group are root. By default, the config. inc. php configuration file has the permission to read apache.
The http configuration file of phpmyadmin is/etc/httpd/conf. d/phpmyadmin. conf.
Modify the config. inc. php file and add the phrase password. Otherwise, the system prompts that the phpMyadmin configuration file now requires a top secret phrase password (blowfish_secret) error.
Vi/usr/share/phpmyadmin/config. inc. php
$ Cfg ['blowfish _ secret'] = 'abc';/* you must fill in this for cookie auth! */Abc is custom
Add a permit rule. Otherwise, the phpmyadmin cannot be accessed by other network segments except the local machine.
Vi/etc/httpd/conf. d/phpmyadmin. conf
Allow from 192.168.1.
Access http: // IP/phpmyadmin in the browser. enter your account and password for the first time.
PhpMyAdmin details: click here
PhpMyAdmin: click here
Recommended reading:
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Example of LAMP architecture collaborative application-phpMyAdmin
PhpMyAdmin and Wordpress for LAMP applications
PhpMyAdmin logon timeout Solution