EasyPHP httpd.conf

时间:2018-07-30 00:02:09

标签: database httpd.conf easyphp

我似乎无法同时使我的网站和“ MySQL Administration:PhpMyAdmin 4.7.0”正常工作。

在httpd.conf中,如果我在.conf文件中有本地IP地址:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 192.168.0.11:80# Dynamic Shared Object (DSO) Support

我的网站(nodil.se)正常运行。但是我根本无法访问MySQL。一世 只是得到“无法到达此页面”

但是如果我添加127.0.0.1而不是本地IP:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 127.0.0.1

我可以毫无问题地访问数据库,但是我的网站根本无法工作。

我确定我已经忘记了一些小东西,但似乎根本找不到。

知道我做错了什么吗?

谢谢//密克(Micke)

0 个答案:

没有答案