RSS
热门关键字:  cms  下载  模版  开源  dedecms
当前位置 :| 主页>站长学院>PHP教程>

win32下装php5注意的一个问题.

来源:ChinaUnix.net 作者:未知 时间:2006-09-13 点击:

在win32平台下装php5,安装文件带的install.txt中关于以cgi方式安装php5(PHP Version 5.0.0RC1)是这么写的:
  Installing PHP for Apache as CGI binary
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  If you wish to install PHP as a CGI binary, read this first:

    http://www.cert.org/advisories/CA-1996-11.html

  and then if you are really sure, insert these lines to your conf file: 

   ScriptAlias /php/ "c:/php/"
   AddType application/x-httpd-php .php
   Action application/x-httpd-php "/php/php.exe"

事实上我这样装不行,应该把最后一行改为:
   Action application/x-httpd-php "/php/php-cgi.exe"

在php文件夹下能找到php-cgi.exe这个文件.以cgi方式得用这个.
不知道怎么回事,官方install.txt居然会出错!害人. :D

 oklqh 回复于:2004-04-22 13:21:06
不错不错,不过我没在windows下使用过这种方式~无法验证

 yb0312 回复于:2004-04-22 19:55:59
我 说怎么装不上 原来 原因在这里呀。
谢谢你哦 !

 HonestQiao 回复于:2004-04-22 21:23:35
从 PHP 4.3.0 版本开始,Windows 的发行包中 CLI 的执行文件为 php.exe

 cnw168 回复于:2004-04-23 08:48:27
上次我安装时就用了好长时间才明白,我去PHP的官方网站上看了一下和你上面所说的错误是一样的。见意给官方网上去信说明!

 mistjin 回复于:2004-04-24 19:58:50


 liugr3988 回复于:2004-04-26 13:21:49


最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表