A
A
Artiom Zenevich2016-12-25 22:16:54
PHP
Artiom Zenevich, 2016-12-25 22:16:54

Can't run phpMyAdmin on Ubuntu 16.04.1?

Good day to all)
Guys, recently switched to Linux Ubuntu 16.04.
Difficulties with setting up LAMP, or rather with phpMyAdmin
When you enter localhost/phpmyadmin, it gives an error 404
Not Found

The requested URL /phpmyadmin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at localhost Port 80
. I tried everything that is possible, up to the demolition of the system, but everything is even. I'm sure the question is noob, but I'm the noob in this matter, help, or give advice.
Thank you all in advance for your replies!!!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
I
Ivan Tabakerka, 2018-08-02
@IvanTabakerka

In /etc/apache2/conf-available/phpmyadmin.conf you need to transfer the config /etc/phpmyadmin/apache2.conf
And then in the terminal we spank sudo a2enconf phpmyadmin
Apache didn’t see the pma config for some reason and displayed 404.
UPD:
A year later I understood what salt. When choosing a web server for pma, you had to use the arrows and a space to select the one you need, and not slap Enter everywhere.

B
Bastax13, 2016-12-26
@Bastax13

sudo ln -s /usr/share/phpmyadmin /var/www
Instead /var/www, paste the path to your site

A
A person from Kazakhstan, 2016-12-26
@LenovoId

ru.stackoverflow.com/a/432855/33274 I already answered this question a couple of years ago

Z
zooks, 2016-12-25
@zooks

See apache.conf configs to see if they contain virtualhost with path to PhpMyAdmin.

D
Dmitry, 2016-12-25
@slo_nik

Good evening.
How did you install LAMP, did you install phpMyadmin?
Does /etc/phpmyadmin exist?
If you installed it using tasksel, then it seems to be installed there along with everyone else, and if not, then you may need to install it separately.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question