建议参考
http://www.csdn.net/expert/topic/164/164173.shtm
http://www.csdn.net/expert/topic/164/164173.shtm
解决方案 »
- lamp的论坛程序实现像CSDN论坛分页一样的分页效果该怎么写?
- mysql数据排序问题
- 数组比较问题
- 在服务器使用copy无法上传文件,但是本地测试却可以,请教?
- 从数据库读出来的长文章怎么分页?
- 登陆成功后,把登陆表单隐藏掉,换成个人信息
- php+smarty +mysql 查询遇到一个很奇怪的问题???
- php能不能生成GIF动画图片?
- 怎样用WEB页面显示MYSQL数据库中存储的图片(二进制字段数据)
- php 数组合并的问题
- 运行127.0.0.1出问题?
- 我的mysql一运行mysqld-shareware -install提示Failed to install Service.Why?Winnt+sp4
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