However, if after reading the above and accepting the potential risk should phpMyAdmin not be properly secured, here's how you enable it:
- Code: Select all
ln -s /usr/share/phpMyAdmin /srv/www/htdocs/
Once you run the above code, phpMyAdmin will just start working. The default apache configuration file for phpMyAdmin limits accessibility to local IPs only by default as well. To further secure or grant additional IP access you will need to edit /etc/apache2/conf.d/phpMyAdmin.conf and make the appropriate modifications.