For CentOS it's in a different location:
sudo nano /etc/httpd/conf.d/phpMyAdmin.conf
Toward the top of the file, you will see two lines that look like this:
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
These two lines are our aliases, which means that if we access our site's domain name or IP address, followed by either /phpMyAdmin or /phpmyadmin, we will be served the content at /usr/share/phpMyAdmin.
Webmaster Security
[Apache] How to change url access link to phpmyadmin
Submitted by Deleted_3747, 08-10-2018, 12:29 PM, Thread ID: 103097
Thread Closed
RE: [Apache] How to change url access link to phpmyadmin 29-11-2018, 08:47 AM #2
29-11-2018, 08:47 AM
#2