PHP can't initialize zorba_api's module

空扰寡人 提交于 2019-12-13 04:45:50

问题


Dose anyone know how to fix this error?

I installed zorba and it worked well like bellow.

C: \>zorba -q 1+1

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

2
C:\ >

Then I changed PHP.ini to add extension module .

extension=zorba_api.dll 

Then tied restart Apache but Apache didn't start.

I could't get any messages from Apache logs,

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:\>

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

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

I use followin products

Windows Server 2008 R2 Standard

Apache2.2.17

PHP-5.3.4 VC6ts

zorba 2.1.00


回答1:


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.



来源:https://stackoverflow.com/questions/10990912/php-cant-initialize-zorba-apis-module

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!