PHP 无法初始化 zorba_api 的模块 [英] PHP can't initialize zorba_api's module

查看:27
本文介绍了PHP 无法初始化 zorba_api 的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Dose anyone know how to fix this error?

我安装了 zorba 并且效果很好.

I installed zorba and it worked well like bellow.

C: \>zorba -q 1+1

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

2
C:\ >

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

Then I changed PHP.ini to add extension module .

extension=zorba_api.dll 

然后绑定重启Apache但Apache没有启动.

Then tied restart Apache but Apache didn't start.

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

I could't get any messages from Apache logs,

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

but I got messages If I tried this PHP operation

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 之间的编译选项不匹配.

The massage said compile option isn't match between Module and PHP.

我想我需要用 VC6 编译 zorba_api.但是我怎样才能得到它?我可以去哪里取?

I guess I need zorba_api compiled with VC6. But How can I get it? Where can I take it?

我使用以下产品

Windows Server 2008 R2 标准版

Windows Server 2008 R2 Standard

Apache2.2.17

Apache2.2.17

PHP-5.3.4 VC6ts

PHP-5.3.4 VC6ts

左巴 2.1.00

推荐答案

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

You could try to compile Zorba with VC6 or compile Zorba with any VS Version (at your own risk) but changing the signature to VC6.
Update: Zorba doesn't support VC6 since it uses some features from C++0x.

这篇关于PHP 无法初始化 zorba_api 的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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