https://askubuntu.com/questions/668734/the-requested-url-phpmyadmin-was-not-found-on-this-server
您是否尝试过:
sudo -H gedit /etc/apache2/apache2.conf
然后将以下行添加到文件末尾:
Include /etc/phpmyadmin/apache.conf
然后重新启动Apache:
/etc/init.d/apache2 restart
您需要配置apache2.conf才能使phpMyAdmin工作。有关更多详细信息,请阅读Ubuntu Wiki中的本节。
打开一个终端并运行
gksu gedit /etc/apache2/apache2.conf
然后将以下行添加到文件末尾。
Include /etc/phpmyadmin/apache.conf
然后重新启动Apache
/etc/init.d/apache2 restart