主题:  NTserver上php配置错误

qibing

职务:普通成员
等级:1
金币:0.0
发贴:1
注册:2001/1/1 18:50:00
#12001/3/24 10:48:40
我在NT4server+package4上安装apache+php4.0.2+mysql,却不能正常显示php页面,apache、php4、mysql分别装在c:\apache、c:\php4、c:\mysql,apache的DocumentRoot我设置在c:\phpweb,但在察看
文件时总是因超时而无法正常浏览,我察看apache的错误日志文件error.log显示:
-------------------------------------
[Thu Mar 22 14:42:20 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/main.css
[Thu Mar 22 14:42:20 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/images/trans.gif
[Thu Mar 22 14:45:37 2001] [error] forcing termination of child #0 (handle 176)
[Thu Mar 22 17:03:49 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/main.css
[Thu Mar 22 17:03:49 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/images/trans.gif
[Thu Mar 22 17:04:04 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/main.css
[Thu Mar 22 17:04:04 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/images/trans.gif
[Thu Mar 22 17:16:45 2001] [error] [client 172.19.234.68] Client sent malformed Host header
[Thu Mar 22 17:16:49 2001] [error] [client 172.19.234.68] File does not exist: c:/phpweb/images/trans.gif
-------------------------------------------
why???我哪里配置错了?请高手指点。thank you!!!



寂寞菜鸟

职务:普通成员
等级:1
金币:1.0
发贴:173
注册:2001/2/24 17:47:55
#22001/3/27 10:34:34
我也是新手,所以我也看不懂。但是我能给你个建议,就是直接下载那一套的安装包,这样你就可以用最少的时间花在配置上,这样对我们这样的新手不错。



itsuki

职务:普通成员
等级:1
金币:0.0
发贴:56
注册:2000/12/25 16:50:31
#32001/3/31 0:32:00
看看你的 php.ini 文件,在php目录中的,(不要复制到system中去) 里面的目录是否对
看看你的 apache 下的 conf 目录里面的 .conf 文件

最好把你的配置文件贴出来