0

I installed phpmyadmin in Ubuntu 16.04 with:

sudo apt -y update && sudo apt install phpmyadmin

after installation, localhost/phpmyadmin shows a not found error page.

I used this code for solving this issue:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin.conf
sudo service apache2 reload

But localhost/phpmyadmin return php code as text.

See the screen-shot:

pic

Where is my problem ?

mySun
  • 1,971
  • 1
    What do you mean by return php code ? – George Udosen Dec 27 '16 at 15:19
  • @George Hi, i add image issue page – mySun Dec 27 '16 at 15:22
  • Looks like you haven't installed PHP, or you didn't setup a way for Apache to interface with PHP. See for example http://askubuntu.com/questions/846860/cant-run-php-file/846870#846870 – Henning Kockerbeck Dec 27 '16 at 15:28
  • @HenningKockerbeck thank you for answer, but I din't notice for this example, please help me... – mySun Dec 27 '16 at 15:34
  • @HenningKockerbeck Not show phpmyadmin page ! php 7 is install. – mySun Dec 27 '16 at 15:53
  • You need to setup a way for Apache to interface with PHP. There are several ways to do so, each has its own advantages and disadvantages. Please describe your server and what you're using it for. Are we talking about a local playground for yourself only, behind a firewall? Are we talking about a public server with high traffic websites on it? – Henning Kockerbeck Dec 27 '16 at 19:27

0 Answers0