PHPMyAdmin
Guide is created for Ubuntu 20.04 / Apache 2
Open the phpmyadmin.conf for editing.
sudo nano /etc/apache2/sites-available/phpmyadmin.conf
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.
Save and close the file.
Restart apache for the changes to take effect.
sudo systemctl restart apache2
Last modified 1yr ago