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.

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

报告相同问题?

悬赏问题

  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题