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;
To install (Apache, PHP, MariaDB, PHPMyAdmin), please open your terminal and follow the below simple steps: First, install apache2 package:sudo apt install apache2 Enable apache service sudo systemctl stop apache2.service sudo systemctl start apache2.service sudo systemctl enable apache2.service Install mariadb server and client sudo apt-get install mariadb-server mariadb-client Enable mariadb server sudo systemctl stop mariadb.service …