Install and configure phpMyAdmin4.4.7 in CentOS6.6

Source: Internet
Author: User
Install and configure phpMyAdmin4.4.7 in CentOS6.6

Install and configure phpMyAdmin 4.4.7 in CentOS 6.6

Homepage → Database Technology

Background:

Read News

Install and configure phpMyAdmin 4.4.7 in CentOS 6.6

[Date: 2015-09-07] Source: Linux community Author: mofansheng [Font:]

Environment Description:

System Version: CentOS 6.6 32bit

Software Version: mysql 5.6.25, nginx1.6.2, php5.4.37 LNMP Architecture

Note: phpmyadmin4.4 or a later version is required for MySQL or later;

The procedure is as follows:

# Unzip phpMyAdmin-4.4.7-all-languages.zip

# Mv phpMyAdmin-4.4.7-all-languages/*/usr/local/nginx/html/phpmyadmin/

# Cd/usr/local/nginx/html/phpmyadmin/

# Cp config. sample. inc. php config. inc. php

Access 192.168.20.5/phpmyadmin through a browser

Use the root user and use the mysql password to log on;

The following error is reported: unable to log on to the MySQL server;

This error indicates that the database is not connected.

Solution:

# Vi config. inc. php

Find this line $ cfg ['servers'] [$ I] ['host'] = 'localhost ';

Changed to: $ cfg ['servers'] [$ I] ['host'] = '2017. 0.0.1 ';

Reconnect and log in;

The nginx virtual host configuration is as follows:

# Cat/usr/local/nginx/conf/vhosts/default. conf

Server

{

Listen 80;

Server_name 192.168.20.5;

Index index.html index.htm index. php;

Root/usr/local/nginx/html;

Location ~ \. Php $ {

Include fastcgi_params;

Fastcgi_pass unix:/tmp/php-fcgi.sock;

Fastcgi_index index. php;

Fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;

}

}

The php-fpm configuration is as follows:

# Cat/usr/local/php/etc/php-fpm.conf

[Global]

Pid =/usr/local/php/var/run/php-fpm.pid

Error_log =/usr/local/php/var/log/php-fpm.log

[Www]

User = php-fpm

Group = php-fpm

Listen =/tmp/php-fcgi.sock

Listen. mode = 0666

Pm = dynamic

Pm. max_children = 50

Pm. start_servers = 20

Pm. min_spare_servers = 5

Pm. max_spare_servers = 35

Pm. max_requests = 500

Rlimit_files = 1024

Example of LAMP architecture collaborative application-phpMyAdmin

PhpMyAdmin and Wordpress for LAMP applications

PhpMyAdmin logon timeout Solution

Install phpMyAdmin and Adminer in Ubuntu

Implement SSL functions based on LAMP and install phpMyAdmin

Configure the LAMP + phpMyAdmin PHP (5.5.9) development environment in Ubuntu 14.04

PhpMyAdmin details: click here
PhpMyAdmin: click here

This article permanently updates the link address:

  • 0
  • Oracle Database asynchronous IO causes slow query response

    Four rumors around the memory database

    PhpMyAdmin

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2015 Linux community All rights reserved Shanghai ICP filing no. 15008072-1

    ,

    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.