dqxmf02844 2015-10-26 21:11
浏览 184
已采纳

设置zookeeper php扩展以安装kafka-php时出错

I have an issue while installing kafka-php. The zookeeper php extension is a dependency that I need to manage clusters.

I'm following these instructions and I'm getting this error when running ./configure after phpize:

configure: error: Can't find zookeeper headers under "/usr/share/zookeeper"

I already verified that the path exists, and I also tried to install via pecl. That gives the same error (with other versions of the extension too).

How do I resolve this?

  • 写回答

2条回答 默认 最新

  • dqq46733 2015-10-27 02:29
    关注

    After looking, I could find a solution. I just needed to install some dev-packages to have the missing headers of the C client.

    Here you can see the details

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?