phpMySQLAdmin – Debian Quick Q&D Install

This describes a quick and dirty phpMySQLAdmin installation on Debian. Just to be clear – this is NOT the way to install this on a public/production server!

# Install the module, use default configuration, specify password to existing DB
root@server:/$ apt-get install phpmyadmin
# This should already be there:
# apt-get install php5-mysql
# Locate your php.ini file
root@server:/$ updatedb
root@server:/$ locate php.ini
# Activate the MySQL extension
# (Error message: "The mysqli|mysql extension is missing. Please check your PHP configuration.")
root@server:/$ nano /etc/php5/apache2/php.ini
--> Add:
# Add access to phpMyAdmin web interface to the default/root web page
root@server:/$ cd /var/www/html
root@server:/var/www/html$ ls -s /usr/share/phpmyadmin

Here we go:

Leave a Reply

Your email address will not be published. Required fields are marked *