I followed this link to install LAMP server on my Ubuntu 16.04 OS. In the steps given, I have skipped the installation of MariaDB (I went with mysql instead). Also, there was an error while installing libapache2-mod-php7. The error that I got during installation isUnable to locate package libapache2-mod-php7Other than this everything went as per the script. Now when I try to open the phpmyadmin page from my browser using http://server-ip-address/phpmyadmin/I gets a page full of codes instead of a GUI window that asks for login credentials. There are no errors in opening the page etc. It just displays the codes on the browser window.Where am I missing out on?Screen shot of the error received: -
Trouble opening phpmyadmin login page from the browser
apt;package management;mysql;repository;phpmyadmin
You need libapache2-mod-php7.0 for Apache to interpret PHP. This package is crucial for proper processing of the source code. Try again to install it. I've just checked and it is present in the repository. Do thissudo apt install libapache2-mod-php7.0(The correct package name is: libapache2-mod-php7.0 not ...-php7.)Then restart Apache.service apache2 restartThen check the login page.