0

有人知道如何解决此错误吗?

我安装了 zorba,它运行良好,如下所示。

C: \>zorba -q 1+1

< ?xml version="1.0" encoding="UTF-8"?>

2
C:\ >

然后我更改了 PHP.ini 以添加扩展模块。

extension=zorba_api.dll 

然后绑重启Apache,但Apache没有启动。

我无法从 Apache 日志中获得任何消息,

但我收到消息如果我尝试了这个 PHP 操作

C: \>php -v

PHP Warning:  PHP Startup: zorba_api: Unable to initialize module

Module compiled with build ID=API20090626,TS,VC9

PHP    compiled with build ID=API20090626,TS,VC6

These options need to match

 in Unknown on line 0

PHP 5.3.4 (cli) (built: Dec  9 2010 21:37:21)

Copyright (c) 1997-2010 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

C:\>

按摩说编译选项在模块和 PHP 之间不匹配。

我想我需要用 VC6 编译的 zorba_api。但我怎样才能得到它?我可以把它带到哪里?

我使用以下产品

Windows Server 2008 R2 标准版

Apache2.2.17

PHP-5.3.4 VC6ts

佐巴 2.1.00

4

1 回答 1

2

你可以尝试用 VC6 编译 Zorba 或使用任何 VS 版本编译 Zorba(风险自负),但将签名更改为 VC6。
更新:Zorba 不支持 VC6,因为它使用了 C++0x 的一些特性。

于 2012-06-12T18:01:50.633 回答