douya7282 2015-03-24 07:13
浏览 367
已采纳

在Windows 7中对php进行stomp扩展

I am trying to install stomp extension for php5.5.12 version, i have wamp server2.5 and windows 7 64 bit pc. I have downloaded the dll file of stomp extension from pecl website [1]: http://pecl.php.net/package/stomp , and enables the entry for the same in php.ini file with the help of phpinfo(), now when i restart the wamp server and tried to see the stomp extension in phpinfo screen it is not there,and there is an warning message in php error file which says that: PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_stomp.dll' - %1 is not a valid Win32 application.
I tried to searched different blogs and google,but could not find the running solution.can any one please help me.

Is there any url from where i can download the 64bit stomp dll file , i have tried the urls like

http://downloads.php.net/pierre/ that is not working

thanks and regards

  • 写回答

1条回答 默认 最新

  • doumao1917 2015-04-06 12:30
    关注

    The error is due to the mismatch of the versions.I am using the wamp on windows 64 bit but the dll file for stomp is 32 bit version that is why the error is there. But unfortunately there is no dll file of 64 bit version for windows and the official site http://downloads.php.net/pierre/ is also down, so alternatevly i got the Stomp,Frame etc. classes from the drupal stomp module and made a php file which will include these files ,it is working perfectly fine for me.

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

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀