文字

Microsoft Windows 下的 Sambar 服务器

本节包含针对 Windows 下的 » Sambar 服务器的说明和提示。

Note:

应该首先阅读手工安装步骤!

下面列出了怎样在 Windows 下设置 Sambar 服务器的 ISAPI 模块。

  • 在 Sambar 安装目录中找到 mappings.ini文件(在 config 目录中);

  • 打开 mappings.ini 并在 [ISAPI] 部分加入下面一行:

    Example #1 Sambar 的 ISAPI 设置

    #对 PHP 4
    *.php = c:\php\php4isapi.dll#对 PHP 5
    *.php = c:\php\php5isapi.dll
    
    (上面假定 PHP 安装在 c:\php。)
  • 重启动 Sambar 服务器以使改动生效。

Note:

如果想要用 PHP 与分布于网络中不同的主机上的资源通讯,则需要改变 Sambar 服务器的服务进程所使用的帐号。Sambar 服务进程使用的默认帐号是 LocalSystem,没有远程资源的访问许可。可以通过 Windows 控制面板中的“管理工具”里面的“服务”来修改此帐号。

用户评论:

[#1] write2reuben at gmail dot com [2014-09-27 04:06:35]

For PHP 5.6.0 use CGI

In mappings.ini

[cgi]
...
*.php = C:\mystuff\php-5.6.0\php-cgi.exe

In config.ini

[http]
...
CGI Extensions = *.php 
....

[#2] com at sambar dot info [2002-09-30 17:47:23]

Welcome,

We have now a good place for php issues on the SambarServer. 

Thanks! to Derick from php.net

For specific Sambar issues you can go to http://www.sambarserver.info

Steffen

上一篇: 下一篇: