Step 1. Install
# sudo yum install epel-release
# sudo yum update -y
# sudo yum install phpmyadmin
Step 2. Modified phpMyAdmin.conf
# sudo vim /etc/httpd/conf.d/phpMyAdmin.conf
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
# Require ip 127.0.0.1 // comment this line
# Require ip ::1 // comment this line
Require all granted // add this line
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from xxx.xxx.xxx.xxx // modified 127.0.0.1 to your IP
Allow from ::1
</IfModule>
Step 3. Restart Apache
# sudo systemctl restart httpd.service
Step 4. Open Your Url.
http://xxx.xxx.xxx.xxx/phpMyAdmin