I’m trying to install phpmyadmin on my new server, following this guide
apt-get install phpmyadmin nano /etc/apache2/apache2.conf
then added phpmyadmin to apache configuration:
Include /etc/phpmyadmin/apache.conf
and restarted apache:
service apache2 restart
All this by SSH.
But now when i try to access: x.x.x.x/phpmyadmin all that i get is that my browser downloads a file… Can someone help with this?
Advertisement
Answer
If you are sure that you do have lamp-stack just open up your terminal and type edit
/etc/apache2/apache2.conf
and paste the following at the end of file
Include /etc/phpmyadmin/apache.conf
Save the file and restart using sudo service apache2 restart
You can also visit https://help.ubuntu.com/community/phpMyAdmin for more details.