简体   繁体   English

Windows 7中php的stomp扩展

[英]stomp extension for php in windows 7

I am trying to install stomp extension for php5.5.12 version, i have wamp server2.5 and windows 7 64 bit pc. 我正在尝试为php5.5.12版本安装stomp扩展名,我安装了wamp server2.5和Windows 7 64位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. 我已经从pecl网站[1]下载了stomp扩展名的dll文件: http ://pecl.php.net/package/stomp,并借助phpinfo()在php.ini文件中启用了该条目,现在,当我重新启动Wamp Server并尝试在phpinfo屏幕中看到stomp扩展名时,它不存在,并且php错误文件中有一条警告消息,内容为: 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. 我试图搜索其他博客和Google,但找不到正在运行的解决方案。有谁可以帮助我。

Is there any url from where i can download the 64bit stomp dll file , i have tried the urls like 我可以从那里下载64位stomp dll文件的任何网址,我尝试过以下网址

http://downloads.php.net/pierre/ that is not working http://downloads.php.net/pierre/不起作用

thanks and regards 谢谢并恭祝安康

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. 该错误是由于版本不匹配所致。我在windows 64位上使用了wamp ,但stomp的dll文件是32位版本,这就是为什么出现错误的原因。 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. 但遗憾的是64位版本的Windows和官方网站没有dll文件http://downloads.php.net/pierre/也下来了,所以alternatevly我得到了StompFrame等。从阶级drupal stomp模块做了一个PHP文件,其中将包括这些文件,它对我来说工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM