to cloudwon(地球之巅) 呵呵,不好意思阿,能不能给我解释一下cgi和dso都是什么东东??
以下是我的http.conf文件内容 # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /PHP/ "C:/PHP/" AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "/PHP/php.exe" # # "C:/Program Files/Apache Group/Apache/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "C:/PHP"> AllowOverride None Options None Order allow,deny Allow from all </Directory></IfModule> # End of aliases.
是配成cgi还是dso?你最好把php相关部分的配置代码贴一下
httpd.conf的配置AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php-source .phps LoadModule php4_module c:/php/sapi/php4apache2.dllphp.ini的配置我只改了extension_dir和doc_dir
呵呵,不好意思阿,能不能给我解释一下cgi和dso都是什么东东??
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /PHP/ "C:/PHP/"
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/PHP/php.exe" #
# "C:/Program Files/Apache Group/Apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/PHP">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory></IfModule>
# End of aliases.