douningchang3610 2013-09-28 06:54
浏览 67
已采纳

PHP Gearman安装

i have trying to sort out gearman extension for php for nothing is going correct. I have tried to install gearman-1.1.2 as per the instructions given in the website. Install gearman

Thanks for the great article since the install went on smoothly. But after restarting apache2 and tried to enter php command gives me like this:

$ php
  PHP Warning:  PHP Startup: gearman: Unable to initialize module
  Module compiled with module API=20090626
  PHP    compiled with module API=20121212
  These options need to match
    in Unknown on line 0

And also tried phpinfo() but it seems gearman is not enabled yet. Atlast found gearman.so was not copied to /usr/lib/php5/20121212 but still after copying the state has not been changed yet.

Please help me out .

Thanks in Advance.

  • 写回答

1条回答 默认 最新

  • dongshuzui0335 2013-10-01 04:51
    关注

    Sorry for my vague question it was a silly mistake. I upgraded my gearman package by using

    pecl upgrade gearman as root. And now it is working fine.

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

报告相同问题?

悬赏问题

  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改
  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持