使用 Zend Server Community Edition 在 OS-X Snow Leopard 上编译 PHP 的 Gearman 扩展

发布于 2024-09-01 03:18:34 字数 424 浏览 3 评论 0原文

我想知道是否还有其他人知道如何解决这个问题。无论我是通过 PECL 安装扩展还是手动编译它,我都会遇到同样的错误:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/gearman.so' - dlopen(/usr/local/zend/lib/php_extensions/gearman.so, 9): no suitable image found.  Did find:
/usr/local/zend/lib/php_extensions/gearman.so: mach-o, but wrong architecture in Unknown on line 0

我不知道如何解决这个问题,我只能多次用头撞桌子。

I was wondering if anyone else has figured out how to solve this problem. Whether I install the extension via PECL or compile it by hand, I get the same error:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/gearman.so' - dlopen(/usr/local/zend/lib/php_extensions/gearman.so, 9): no suitable image found.  Did find:
/usr/local/zend/lib/php_extensions/gearman.so: mach-o, but wrong architecture in Unknown on line 0

I have no idea how to fix this problem and I can only bang my head into my desk so many times.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷情 2024-09-08 03:18:34

在获得我在 Twitter 上关注的人的帮助后,来自 Zend 的 Ralph Schindler 向我介绍了如何通过 Skype 聊天执行此操作:

http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-雪豹上的服务器 ce

After getting help from the people I follow in Twitter, Ralph Schindler from Zend talked me through how to do this via Skype chat:

http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文