首页没找到,没有index.html文件,指到en目录下
解决方案 »
- 如何上传大文件
- 请您帮个小忙!
- 跪求PHP幻灯片代码,急!!!!
- 如何保存正则表达式匹配出来的结果?
- php程序怎调试?
- (2)请“ xuzuning(唠叨)”兄弟进来领剩余200分,顺便表达谢意!(300分求解关于php.ini的问题,已经解决,同时感谢参与者)
- 数据库操作:请教在一个页面链接到下一个页面的问题.
- 为何我用date(y-m-d h:i:s)录入的时间总是12小时制的?
- 一个诡异的重复写入问题
- 求助: 这种结构的表应该怎么写查询呢
- 小弟想在假期开始学习PHP不知该从何学起呢?
- 配置好 APACHE后,运行 http://127.0.0.1 出现的页面是: NOT ACCEPTABLE?
1.#BindAddress * 改为 BindAddress 127.0.0.1
#Servername new.host.name 改为 Servername localhost
2.让你的APACHE来支持PHP4. 加上下面这么几句:
ScriptAlias /php4/ "C:/php4/" (这个为你安装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 /php/ "d:/php/"
4.增加默认启动文档:
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4
5.测试文件info.php: <? phpinfo(); ?>
在浏览器中输入http://localhost/info.php