今天在ubuntu上配置LAMP环境的时候出现了些小问题,安装完phpmyadmin以后打开不开,出现了404的错误
在一个网站上找到了答案。感谢这位国际友人!
原文地址:
click it
原因:phpmyadmin没有链接到apache下
It should work now. If not, do the following to include the phpMyadmin-shipped Apache configuration into Apache:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
Restart apache:
sudo /etc/init.d/apache2 restart
That’s it. Let me if you have any doubts in the comment.