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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.