Configure phpMyAdmin in CentOS 5.8

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.