我现在在装apache+MySQL+PHP中遇到了很多问题
资料上的要求是这样说的:
1.为了让Apache处理PHP扩展名,必须加入该类型。确保你把配置文件中的下列两行去掉注释。如果这两行不存在,必须手工添加。
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
2.改变Directory Index支持以增加index.php和index.shtml。
DirectoryIndex index.php index.shtml index.html index.htm
安装过程里是这么整合的:
tar zxvf php-3.0.13.tar.gz (解压缩到目录"php-3.0.13")
cd php-3.0.13 (进入php3的源代码目录)
./configure --with-mysql --with-apache=../apache_1.3.9
make
make install
我们当我访问www.test.nbnet.com.cn/ex.php3的时候没有显示预期的hello world欢迎界面,而是一个下载ex.php3文件的下载界面呢。各位可以去访问一下。我对apache+php4已经苦恼了很久了,还是没有办法。请大家帮忙!我的httpd.conf文件和php-config文件放在ftp://www.test.nbnet.com.cn里面,用户名是xgg1,密码是888888