When you have phpMyAdmin installed, you do not want everyone to have access to the site. You can easily block access by allowing only approved IP’s or IP ranges. Edit the /etc/apache2/conf.d/phpMyAdmin.conf file and add the IP address range to allow using the, “Require ip” line. In the example below, you can see IP ranges and a single IP is being used.