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!
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
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!