PHP,IIS和ISAPI [英] PHP, IIS, and ISAPI

查看:52
本文介绍了PHP,IIS和ISAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在带有IIS 6.0的Windows 2003上安装PHP 5.2.x。

当我去安装5.2.1时,它在尝试
$时给出了一个错误b $ b启动服务器我收到错误。所以我尝试安装5.2.0。这个

安装,但我在

安装中选择的模块几乎都没有激活。我尝试在php.ini中激活它们,但是

似乎没有帮助。为什么安装程序允许我安装PHP,

选择模块,然后从不显示使用phpinfo()?

I am attempting to install PHP 5.2.x on Windows 2003 with IIS 6.0.
When I go to install 5.2.1, it gives me an error when it tries to
start the server I get an error. So I try installing 5.2.0. This
installs, but almost none of the modules that I selected in the
installation are active. I try to activate them in php.ini, but that
doesn''t seem to help. Why does the installer allow me to install PHP,
select the modules, and then never show the working with phpinfo()?

推荐答案

当我去安装5.2.1时,它在尝试
时给出了一个错误
When I go to install 5.2.1, it gives me an error when it tries to

启动服务器我收到错误。
start the server I get an error.



如果您希望我们提供任何帮助,请描述实际发生的事情:

错误是什么,输出是什么你是phpinfo页面,如果它确实

不起作用。


-

Willem Bogaerts


申请史密斯

Kratz BV
http ://www.kratz.nl/


Willem Bogaerts写道:
Willem Bogaerts wrote:

>当我去安装5.2.1时,它在尝试启动服务器时出现错误我收到错误。
>When I go to install 5.2.1, it gives me an error when it tries to
start the server I get an error.



如果您希望我们提供任何帮助,请说明实际发生的事情:

错误是什么,输出是什么你是phpinfo页面,如果它确实

不起作用。


If you want us to be of any help, please describe what really happens:
what is the error, and what is output for you phpinfo page if it "does
not work".



是的,这会有所帮助。

但在大多数情况下,当人们抱怨''模块''不活跃时,他们会使用''方便''windowsinstaller。 (我希望他们从他们的网站上删除那个东西

)。


您是否有机会使用Windows安装程序?

如果你这样做了,你当然也会先阅读精美的手册,因为可以找到

这里:
http://www.php.net/manual/en/install....installer.php


和第一段文字后面的说明:

Yes, that would help.
But in most cases when people complain that the ''modules'' are not active,
they used the ''handy'' windowsinstaller. (I wished they removed that thing
from their site).

And did you by any chance use the windows installer?

If you did, you also read the fine manual first of course, as can be found
here:
http://www.php.net/manual/en/install....installer.php

And the note that is after the first piece of text that says:


注意:虽然Windows安装程序是一个简单的方法让PHP工作,它受到许多方面的限制,例如,自动设置扩展名

不受支持。使用安装程序不是安装PHP的首选方法。
Note: While the Windows installer is an easy way to make PHP work, it is
restricted in many aspects, for example, the automatic setup of extensions
is not supported. Use of the installer isn''t the preferred method for
installing PHP.



问候,

Erwin Moller


Regards,
Erwin Moller


3月21日,5:19 am,Erwin Moller

< since_humans_read_this_I_am_spammed_too_m ... @ spam yourself.comwrote:
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spam yourself.comwrote:

Willem Bogaerts写道:
Willem Bogaerts wrote:

当我去安装5.2.1时,它在尝试

启动服务器时给出了一个错误我得到了一个错误。
When I go to install 5.2.1, it gives me an error when it tries to
start the server I get an error.


如果您希望我们提供任何帮助,请描述真实情况:

什么是错误,以及为什么输出你的phpinfo页面,如果它确实

不起作用。
If you want us to be of any help, please describe what really happens:
what is the error, and what is output for you phpinfo page if it "does
not work".



是的,这会有所帮助。

但在大多数情况下,当人们抱怨模块不活跃时,

他们使用''方便''windowsinstaller。 (我希望他们从他们的网站上删除那个东西

)。


您是否有机会使用Windows安装程序?

如果你这样做了,你当然也会先阅读精美的手册,因为可以找到

这里: http://www.php.net/manual/en/install....installer.php


和第一段文字后面的说明:


Yes, that would help.
But in most cases when people complain that the ''modules'' are not active,
they used the ''handy'' windowsinstaller. (I wished they removed that thing
from their site).

And did you by any chance use the windows installer?

If you did, you also read the fine manual first of course, as can be found
here:http://www.php.net/manual/en/install....installer.php

And the note that is after the first piece of text that says:


注意:虽然Windows安装程序是一种简单的方法让PHP工作,它受到许多方面的限制,例如,扩展的自动设置

不受支持。使用安装程序不是安装PHP的首选方法。
Note: While the Windows installer is an easy way to make PHP work, it is
restricted in many aspects, for example, the automatic setup of extensions
is not supported. Use of the installer isn''t the preferred method for
installing PHP.



问候,

Erwin Moller


Regards,
Erwin Moller



对不起伙计们,我没有'我不记得错误到底是什么,而且我已经和他们打了几天了。我厌倦了IIS。不幸的是我有一台服务器使用它。


是的,我发现安装程序只是一种痛苦。它确实很少。我现在从二进制发行版安装了,并且运行了
php。但是,大多数模块,比如mysql都没有运行。其他是openssl,curl和socket。我已经下载了

的PECL文件并安装了它们,我已经设置了系统

变量,权限,ISAPI过滤器,一个站点建议修改

到注册表,等等。 PHP正在运行,所以我知道这不是问题。为什么有些模块没有加载?


如果有人可以向我解释为什么其他模块可能没有加载b $ b,我将不胜感激。

迈克

Sorry guys, I didn''t remember exactly what the error was, and I have
been battling this for days. I am so sick of IIS. Unfortunately I have
one server that uses it.

Yes, I have found that the installer is nothing but a pain. It does
very little. I have installed from the binary distribution now, and
php is running. However, most of the modules, like mysql are not
running. The others are openssl, curl, and sockets. I have downloaded
the PECL files and have installed them, I have set the system
variables, permission, ISAPI Filter, one site suggested a modification
to the registry, and on and on. PHP is running, so I know that is not
a problem. Why will some of the modules not load?

If someone could explain to me why the other modules may not be
loading, I would appreciate it.
Mike


这篇关于PHP,IIS和ISAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆