I'm running Ubuntu 16.04 on Virtualbox. I install apache2.4.18
, php7.0.8
, libapache2-mod-php7.0
, mysql5.7.16
and phpMyAdmin(4:4.5.4.1-2ubuntu2)
.
When I type localhost/phpmyadmin
in the browser (Firefox), I get lots of code instead of the web page for phpMyAdmin. What could be the source of the problem?
Edit: phpinfo() is working, but phpMyAdmin is not.
Also I tried typing these commands in the terminal: "a2query -m php7.0" "a2enmod php7.0" They showed that php is enabled.