How to setup phpMyAdmin in NGINX CentOS 7.5

By | August 23, 2018

phpMyAdmin is a free software tools written in PHP, intended to handle the administration of MYSQL over the web. In our case we access percona database from phpmyadmin

I created sub domain database.travelhand.xyz for accessing phpMyAdmin

how to setup phpmyadmin in nginx centoos 7.5 phpmyadmin centos 7 How to setup phpMyAdmin in NGINX CentOS 7.5 6

Important note phpMyAdmin version 4.8 is not compatible with PHP7.2 that cause we use phpMyAdmin development  version 5 

First enter /usr/share/nginx/html location 

Enter phpMyAdmin website download section phpMyAdmin 5.0+snapshot part select tar.gz file by write click it . Full Link : https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.0+snapshot-all-languages.tar.gz

Then enter your cloud machine and use wget to download this file 

If wget command not found then download it 

After successfully download need to unzip this folder 

Write ls to see folder and rename this folder phpMyAdmin

Remove this tar.gz folder 

Now need to create a configuration file for nginx to work phpMyAdmi properly

then file open now write this line 

save and close the file . Check nginx -t to everything working properly or not . If not any error found then everything is working fine

Need to provide write access php session folder 

Now restart nginx and php-fpm 

Now Enter your brower database.travelhand.xyz

how to setup phpmyadmin in nginx centoos 7.5 phpmyadmin centos 7 How to setup phpMyAdmin in NGINX CentOS 7.5 7

phpMyAdmin is working properly . login using your percona mysql user name and password 

how to setup phpmyadmin in nginx centoos 7.5 phpmyadmin centos 7 How to setup phpMyAdmin in NGINX CentOS 7.5 8

here you see phpMyAdmin is working properly. Bye for Today

One thought on “How to setup phpMyAdmin in NGINX CentOS 7.5

Leave a Reply