phpmyadmin showing code in ubuntu
sudo apt-get install php libapache2-mod-php sudo a2enmod mpm_prefork && sudo a2enmod php7.0 sudo service apache2 restart
sudo apt-get install php libapache2-mod-php sudo a2enmod mpm_prefork && sudo a2enmod php7.0 sudo service apache2 restart
sudo mysql -u root and if you get error – like below ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO) then use mysql -u root -p mysql -u root -p mysql> use mysql; mysql> ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘NewPassword’; mysql> flush privileges; mysql> exit;