简体   繁体   English

在 Ubuntu 14.04 上运行 PHPMyAdmin 时出现 404

[英]404 when running PHPMyAdmin on Ubuntu 14.04

I am getting a 404 when opening localhost/phpmyadmin .打开localhost/phpmyadmin时出现 404。

I have installed Apache2, PHPMyAdmin, and MySQL, and configured the apache2.conf file, but still facing issues while accessing the page.我已经安装了 Apache2、PHPMyAdmin 和 MySQL,并配置了apache2.conf文件,但在访问页面时仍然遇到问题。

Redo the installation using sudo dpkg-reconfigure -plow phpmyadmin使用sudo dpkg-reconfigure -plow phpmyadmin重做安装

Now as you are using Ubuntu 14.04 manually include the phpMyAdmin-shipped Apache Configuration file using the following commands :现在,当您使用 Ubuntu 14.04 时,使用以下命令手动包含 phpMyAdmin 提供的 Apache 配置文件:

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

sudo a2enconf phpmyadmin

sudo /etc/init.d/apache2 reload

Source : https://help.ubuntu.com/community/phpMyAdmin来源: https : //help.ubuntu.com/community/phpMyAdmin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM