This guide will help you get phpMyAdmin installed on a Debain 8.
Before we begin, please make sure everything is fully up to date by running these commands.
apt-get update && apt-get upgrade -y
Next make sure you have the PHP module mcrypt installed.
apt-get install mcrypt
Next install phpMyAdmin
apt-get install phpmyadmin
Select apache2 on the next screen by pressing spacebar.
Select yes on the next screen.
Next cd into your website directory and create a symbolic link.
ln -s /usr/share/phpmyadmin
You may want to secure phpMyAdmin now by creating an .htaccess file.
Add these lines and replace the IP with your own IP.
allow from 220.127.116.11
You may now access phpMyAdmin by going to ‘yourdomain.com/phpmyadmin’.Posted in