Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

在WinXP下装好Apace和PHP后出现的问题,求教!

[复制链接]
mashan 发表于 2005-12-22 12:40:39 | 显示全部楼层 |阅读模式
地址栏输入http://localhost/运行,出现提示:

Forbidden
You don't have permission to access / on this server.


--------------------------------------------------------------------------------

Apache/2.0.55 (Win32) PHP/4.4.1 Server at localhost Port 80


在网站根目录下建立了一个test.php的文件,地址栏输入http://localhost/test.php,居然出现的是文件下载的对话框,问我要把test.php保存到什么地方去。
到底是怎么回事呀?那位高人能够指点一二,不胜感激!!!

[ 本帖最后由 mashan 于 2005-12-22 12:42 编辑 ]
 楼主| mashan 发表于 2005-12-22 12:43:56 | 显示全部楼层
IIS装过了,不知道什么原因没成功,所以才装的Apace~~~
回复

使用道具 举报

Nanu 发表于 2005-12-22 12:50:50 | 显示全部楼层
PHP没有和Apache整合成功。
回复

使用道具 举报

renothing 发表于 2005-12-22 12:59:31 | 显示全部楼层
必须手动配置http.conf文件来支持PHP
回复

使用道具 举报

z_kings 发表于 2005-12-22 16:08:26 | 显示全部楼层
同意楼上的!
回复

使用道具 举报

 楼主| mashan 发表于 2005-12-22 16:49:34 | 显示全部楼层
谢谢楼上几位,俺晚上回去再试试。
thanks!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-24 19:29 , Processed in 0.046538 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表