谢谢楼上的帮助,这个问题已经搞定了,是这样修改的:# Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (127.0.0.1) # #Listen 127.0.0.1:8080 Listen 8080另外在文档末尾还做了一些修改:# NameVirtualHost 127.0.0.1#<VirtualHost 127.0.0.1> # ServerAdmin: [email protected] # DocumentRoot c:/Apache2/htdocs # ServerName Apache2 # ErrorLog c:/Apache2/logs/error_log # CustomLog c:/Apache2/logs/access_log common #</VirtualHost>
如果没有安装IIS之类的其他80端口服务器,不需要改
# prevent Apache from glomming onto all bound IP addresses (127.0.0.1)
#
#Listen 127.0.0.1:8080
Listen 8080另外在文档末尾还做了一些修改:# NameVirtualHost 127.0.0.1#<VirtualHost 127.0.0.1>
# ServerAdmin: [email protected]
# DocumentRoot c:/Apache2/htdocs
# ServerName Apache2
# ErrorLog c:/Apache2/logs/error_log
# CustomLog c:/Apache2/logs/access_log common
#</VirtualHost>
但我还是不大清楚这里面的道理,哪位能够简单的讲一讲?谢谢!另外,我用ADSL上网,不需要任何设置,不知道这种情况下是否有独立的IP地址?
如果有(或者没有)如何用自己的机器做服务器?请指教!
不知道你问的是不是这个
我只在http.conf里添加了一句:LoadModule php4_module C:/php/sapi/php4apache2.dll是不是还需要别的步骤?
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
你还要注意C:/php/sapi/中必须有php4apache2.dll这个文件
谢谢各位!
phpinfo();
?>这是怎么回事啊?