phpmyadmin在Ubuntu虚拟机下不能正常工作

本篇将介绍phpmyadmin在ubuntu虚拟机下不能正常工作。

其实安装phpmyadmin后如果直接不能正常访问,就证明apache还没有找到虚拟机phpmyadmin目录。

如果Apache2在Ubuntu上安装后,工作正常,你可以通过服务器的IP地址来查询。

在地址栏中输入http://192.168.1.110 (本地服务器地址)

文本应该显示以下:

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

如果你使用Ubuntu虚拟机,在安装phpmyadmin后页面不能正常显示,你需要做以下工作:

1. 确定你安装Apache2的command是以下:

apt-get install apache2

2. 如果你是运行虚拟机,你需要在/etc/apache2/apache2.conf 中找到#include the virtual host configurations:

并且在下面加入以下命令:

Include the sited-enable/

Include /etc/phpmyadmin/apache.conf