Home >Database >phpMyAdmin >How to install phpMyAdmin under CentOS6.8

How to install phpMyAdmin under CentOS6.8

藏色散人
藏色散人forward
2019-11-26 14:52:141938browse

The following column phpmyadmin tutorial will introduce to you how to install phpMyAdmin under CentOS6.8. I hope it will be helpful to friends in need!

How to install phpMyAdmin under CentOS6.8

Installation under CentOS6.8phpMyAdmin

My IP address access directory is in /var/ www, so I put phpMyaAdmin in the www directory

Enter the www directory: cd /var/www

Download phpMyAdmin from the official website. There are many versions to choose from. I chose this one. It is phpMyAdmin-4.8.3 version

Start downloading: wget -c https://files.phpmyadmin.net/...

Unzip the compressed package: tar -zxvf phpMyAdmin-4.8.3 -all-languages.tar.gz

Modify the name: mv phpMyAdmin-4.8.3-all-languages.tar.gz phpMyAdmin

Enter phpMyAdmin: cd phpMyAdmin

Copy And repeat the command configuration file: cp config.sample.inc.php config.inc.php

Restart the server (I installed nginx):service nginx restart

Restart MySql:service mysqld restart

Restart PHP:service php-fpm restart

Enter ip/phpMyAdmin: "192.168.71.131/phpMyAdmin" in the browser address bar; (mine is a virtual machine)

The username defaults to root, and the password is the database password

The installation is successful, as shown in the picture above

How to install phpMyAdmin under CentOS6.8

The above is the detailed content of How to install phpMyAdmin under CentOS6.8. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete