Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top