系统相关
首页 > 系统相关> > linux-mint – 无法获得Phpmyadmin

linux-mint – 无法获得Phpmyadmin

作者:互联网

我最近安装了Linux mint.But我打不到phpmyadmin当我点击http://localhost/phpmyadmin/.我做了以下表扬
1)使用安装LAMP服务器

sudo apt-get install lamp-server^ -y

2)设置mysql
3)测试Apache(成功)
4)使用安装phpmyadmin

sudo apt-get install phpmyadmin -y

安装时我没有收到任何错误,但是当我点击http:// localhost / phpmyadmin / i时出现错误

Not Found

The requested URL /phpmyadmin/ was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80

解决方法:

您需要在apache中添加phpmyadmin的配置路径

转到/ etc / apache2

和nano apache2.conf

在#Global配置后添加此行

# Include phpmyadmin configuration files to access it from browser
Include /etc/phpmyadmin/apache.conf

之后你需要重启apache

sudo service apache2 restart

标签:php,phpmyadmin,terminal,linux-mint
来源: https://codeday.me/bug/20190816/1671606.html