无法在ubuntu中打开phpmyadmin

问题描述:

我顺利地从下面的链接流过了一步。无法在ubuntu中打开phpmyadmin

https://www.ostechnix.com/install-phpmyadmin-with-lamp-stack-on-ubuntu-16-04/ 

我现在想在浏览器中打开的phpmyadmin这个URL

http://192.168.1.113/phpmyadmin 

但它是那么我下面的错误。

Not Found 

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

我有安装phpmyadmin的成功,那么为什么它说,然后not found我没有后得到这个问题

后,我做了 gksu gedit /etc/apache2/apache2.conf

,并添加在文件末尾Include /etc/phpmyadmin/apache.conf线。

现在我可以看到不同的东西enter image description here错误。

如果有人可以帮助我请做。 在此先感谢。

+0

尝试http://192.168.1.113/phpMyAdmin – iCoders

+0

@iCoders试过但没有工作 –

+0

你可以使用https://www.phpmyadmin.net/downloads/这样这个文件夹你必须上传到服务器www/html folderand访问phpmyadmin – iCoders

请你只要按照这个话题

https://community.linuxmint.com/tutorial/view/486

我尝试过了,一切都正常工作,在我的电脑,

如果你有固定的任何问题,请你只尝试删除什么你已经安装并按照上面的URL。

看起来像你的主要问题是你的系统上没有安装PHP。当Apache安装但没有PHP解释器时,Apache只是输出PHP代码。

要解决这个问题,你只需要安装PHP,并且你也应该安装PHPMyAdmin建议的扩展。

apt-get install php php-mysql php-mbstring php-zip 

之后,重新启动您的Apache2并刷新PHPMyAdmin的browsertab。