dsbgltg159136540 2014-12-23 23:06
浏览 81

Mac Yosemite上的ZeroMQ PHP

I tried using ZeroMQ with PHP on a Mac OS Yosemite. I tried installing it through composer and below is the error message I keep getting

  Problem 1
- react/zmq v0.3.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
- react/zmq v0.2.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
- Installation request for react/zmq 0.2.*|0.3.* -> satisfiable by react/zmq[v0.2.0, v0.3.0].

From my observation, I feel I have to install the ZeroMQ PHP extension, but all efforts was abortive. I also followed up with this link http://www.andrew-kirkpatrick.com/2013/10/install-zeromq-on-mac-with-php-pecl-extension/ I'm running my server on MAMP3 for MAC OS

Thanks in advance.

  • 写回答

1条回答 默认 最新

  • donglanzhan7151 2016-12-22 09:13
    关注

    Firstly you need to install the software: download current version and build on your system here

    After this you need to bind zmq library with php: here you can find a few ways to do it, usually I do it from github. Hope it helps

    评论

报告相同问题?

悬赏问题

  • ¥15 Stata 面板数据模型选择
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用