Links

PHPMyAdmin

Guide is created for Ubuntu 20.04 / Apache 2

Step 1

Open the phpmyadmin.conf for editing.
sudo nano /etc/apache2/sites-available/phpmyadmin.conf

Step 2

Add the following lines below the line “DirectoryIndex index.php”
Require ip specific_ip_address
Require ip ::1
Replace specific_ip_address with actual IP address.

Step 3

Save and close the file.

Step 4

Restart apache for the changes to take effect.
sudo systemctl restart apache2
Last modified 1yr ago