一个奇怪的连结mysql数据库的问题
系统装在本机上,本机访问提示连结数据库错误,而其他机器却可以...
作者 zyy0015 发布于 2003-09-02 分类:php基础编程
一:
ServerRoot "c:/Apache/"
二:
DocumentRoot "c:/Apache/"
三:
NameVirtualHost 192.168.0.61
ServerAdmin dyxz@vip.163.com
DocumentRoot C:/Apache/htdocs
ServerName 192.168.0.61
ServerAlias 192.168.0.61
ScrIPtAlias /php/ "c:/php/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php/php.exe"
DirectoryIndex index.html index.htm index.php index.php3 index.php4
可是为何我起不了了?
那里错了。高手帮忙!!!
:crying: :crying: :crying:
逛论坛交流:Apache文件是否就这几个位置配置?
apache2php4.dll
这是什么?
php中的模块你要放到适当的地方呀
这个有啊。
就放到winnt里去了!
你这是什么配置方式?
象cgi的啊
配成模块的吧。
APACHE下,不要用CGI方式,用模块方式
把
ScrIPtAlias /php/ "c:/php/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php/php.exe"
改为
LoadModule php4_module /php/php4apache2.dll
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
QUOTE: 最初由 luckyeagle 发布
[B]APACHE下,不要用CGI方式,用模块方式
把
ScrIPtAlias /php/ "c:/php/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action applic...以下省略 [/B]
为什么?
ScrIPtAlias /php/ "c:/php/"
是把这句改成
LoadModule php4_module /php/php4apache2.dll
就可以了吗?
那其它照旧是不是?
去掉
Action application/x-httpd-php4 "/php/php.exe"
php.exe是什么东东?QUOTE:
我有话要讲:(可以匿名发表, 发广告的有多远请滚多远!!!)
昵称: 请输入验证码:
抢着回答
10 条回复
回复