Technology

QoTD

Art only begins when you are full.
மனிதன் நிறை பெற்ற பிறகுதான் அவனுக்குள் கலை ஆரம்பிக்கிறது.

Getting phpmyadmin to work on Ubuntu 16.04


Udayakumar Nalinasekaren
Apr 04, 2017

Ubuntu

Ubuntu 16.04 is a great release. However it had one strange problem for me. If you install phpmyadmin using a sudo apt-get install phpmyadmin command after installing php, apache2 and mysql, it will not work. You will see PHP code spewing out on your browser screen when you try to access phpmyadmin web server.

Ubuntu 16.04 LTS installs php 7.0 by default when you install php using the apt-get command. However there is a package called libapache2-mod-php7.0 which needs to be installed for phpmyadmin to work properly.

So the fix for phpmyadmin spewing out php code is very simple. I ran the following command and was all set.

sudo apt-get install libapache2-mod-php7.0

About This Site

This site is the personal website of Udayakumar Nalinasekaren. It is a pleasure to have you around. Thank you for visiting .

Terms of Use
Privacy Policy
FAQ
Sitemap

Credits

This site uses Python and Django. Uday is the developer.

Site uses Twitter Bootstrap for its responsive UI.

The free theme of this website is courtesy HTML5 Templates Dreamweaver

Get in Touch