Monday, August 1, 2016

How to install PHPMyAdmin on Lubuntu 16.04


Installing phpmyadmin on lubuntu 16.04 is not the same as the previous version of lubuntu, there are some part that's little bit different, but don't worry, in this article i will show you how to install phpmyadmin on lubuntu 16.04.

Phpmyadmin is a web based mysql administrator tool, you can manage mysql database using phpmyadmin, managing mysql database using phpmyadmin is much quicker than working on mysql command line client.

Okay, enough talking, show me how to install phpmyadmin on lubuntu 16.04

Step by step how to install phpmyadmin on lubuntu 16.04
  • install phpmyadmin from command line
sudo apt-get install phpmyadmin
  • open apache web server config file
sudo leafpad /etc/apache2/apache2.conf
  • add this code at the end of the config file
Include /etc/phpmyadmin/apache.conf
  • restart the apache web server
sudo service apache2 restart
  • open http://localhost/phpmyadmin with your favorite web browser
  • there should be an error saying "The mbstring extension is missing. Please check your PHP configuration." to solve this issue you need to install php-mbstring and php-gettext package
sudo apt-get install php-mbstring
sudo apt-get install php-gettext
  • now open http://localhost/phpmyadmin again, this time should be no problem.

So the only different is you have to install the two packages (mbstring and gettext) in order to deal with the issue "The mbstring extension is missing. Please check your PHP configuration." when opening phpmyadmin on lubuntu 16.04.

Have a look at my older post on how to install phpmyadmin on lubuntu, if you ever get confused with this one, i try to make this post as simple as possible, the only different is on lubuntu 16.04 you need to install php-mbstring and php-gettext package, everything else is the same.

No comments:

Post a Comment