如何安装配置apache服务器?有经验的请帮帮忙。 “如何去找conf目录下的httpd.conf文件”你不是真的问这个吧??apache安装目录比如是c:\apache那就在其中有个conf文件夹,里面就有一httpd.conf,放心改,改错了还有一httpd.conf.bak备份文件呢~~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 按我的判断是:他先setup了apache,然后发现不好使(因为没有配),所以就在网上找到一篇讲如何配置的文章,就是他帖出来的那一段,然后发现要改一名叫httpd.conf的文件,但是又没找着,就来问了~~我//汗~~先~~ 一、 安装APACHE1.3.9(配置conf目录下的httpd.conf文件)1.#BindAddress * 改为 BindAddress 127.0.0.1 #Servername new.host.name 改为 Servername localhost 2.让你的APACHE来支持PHP4. 加上下面这么几句: ScriptAlias /php4/ "C:/php4/" AddType application/x-httpd-php4 .phpAddType application/x-httpd-php4 .php3AddType application/x-httpd-php4 .php4Action application/x-httpd-php4 "/php4/php.exe"3.设置Apache虚拟目录,加入以下行:Alias /test/ "c:/php3/test/" Alias /jjjj/ "d:/timenet/"4.增加默认启动文档: DirectoryIndex index.html DirectoryIndex index.htm DirectoryIndex index.php DirectoryIndex index.php3 DirectoryIndex index.php4 5.测试文件info.php: 在浏览器中输入http://localhost/info.php我万万全全这么做的!并且在IIS+PHP4时一切调试OK,并且APACHE服务一定启动了,但当我打:http://127.0.0.1/info.php时,他就说找不到文件! HTTP404错误!但文件一定存在!因为用IIS时可以显示,并且浏览HTM文件没错,怎么回师?!! APACHE1.3.20PHP4。0。6我的版本WIN2000 ADV SERVER SP2 用php读取xml soap 网站地图生成的原理是什么? 连接mysql问题 水翡看过来,关于unzip类的一个疑问 高手请进!----地址栏中的奇怪PHPSESSID字串?? 郁闷中----------------(+_+) 有关页面下载的问题 请教高手:smarty的问题 现有一串字符串,要把重复的字符给去掉,怎么办 求一正则表达式 PHP中如何得到用户的网卡地址 急!!!谁能给我php发送EMAIL的代码!! 最新php 3层结构开发技术
他先setup了apache,然后发现不好使(因为没有配),所以就在网上找到一篇讲如何配置的文章,就是他帖出来的那一段,然后发现要改一名叫httpd.conf的文件,但是又没找着,就来问了~~我//汗~~先~~
1.#BindAddress * 改为 BindAddress 127.0.0.1
#Servername new.host.name 改为 Servername localhost
2.让你的APACHE来支持PHP4. 加上下面这么几句:
ScriptAlias /php4/ "C:/php4/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php4/php.exe"
3.设置Apache虚拟目录,加入以下行:
Alias /test/ "c:/php3/test/"
Alias /jjjj/ "d:/timenet/"
4.增加默认启动文档:
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4
5.测试文件info.php:
在浏览器中输入http://localhost/info.php我万万全全这么做的!并且在IIS+PHP4时一切调试OK,并且APACHE服务一定启动了,但当我打:
http://127.0.0.1/info.php时,他就说找不到文件! HTTP404错误!但文件一定存在!因为用IIS时可以显示,并且浏览HTM文件没错,怎么回师?!!