Setup phpMyAdmin on Linux
  • Restrict the access to a single IP
    • ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
    • vi /etc/phpmyadmin/apache.conf, add following
      • Order deny,allow
      • Deny from all
      • Allow from 192.168.20.15
    • in /var/www/phpmyadmin directory
    • ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License