
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. <a href="http://nguyentantrieu.info/blog/install-gearman-1-1-5-on-ubuntu/" rel="nofollow">Install gearman</a>
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.
Answer1: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.