문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top