To install phpmyadmin, run the following commands:
sudo apt-get update
sudo apt-get install phpmyadmin
After that if it is still not possible to access phpmyadmin via
http://localhost/phpmyadmin
Add a following line to a file: /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
And restart the server by:
sudo service apache2 restart
Source:https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
Sunday, June 25, 2017
Monday, June 19, 2017
How to connect to Mariadb with Phpmyadmin
A new debian 9 comes with Mariadb as a substitute of mysql by default. If you don't have the installation of refer to https://mariadb.com/downloads.
Next, you have to install phpmyadmin. Since I am on debian, my command is:
sudo apt-get install phpmyadmin
After that, include the following line in /etc/apache2/apache2.conf.
/etc/phpmyadmin/apache.conf
Next, you have to install phpmyadmin. Since I am on debian, my command is:
sudo apt-get install phpmyadmin
After that, include the following line in /etc/apache2/apache2.conf.
/etc/phpmyadmin/apache.conf
Subscribe to:
Posts (Atom)