PHPMyAdmin
Guide is created for Ubuntu 20.04 / Apache 2

Step 1

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

Step 2

Add the following lines below the line “DirectoryIndex index.php”
1
Require ip specific_ip_address
2
Require ip ::1
Copied!
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.
1
sudo systemctl restart apache2
Copied!
Last modified 5mo ago
Copy link