douwengzao5790 2012-06-12 05:22
浏览 38
已采纳

PHP无法初始化zorba_api的模块

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条回答 默认 最新

  • doutuobao9736 2012-06-12 18:01
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度