5468

PHP Gearman installation

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.

Recommend

  • Complicated state transitions: best practices
  • Tomcat Java Compiler difference
  • tomcat classes from previous run remains
  • Visual Studio 2013 crashing when opening solution on Windows 10
  • Can't load installed PHP version in Apache (Homebrew OS X)
  • Debian Jessie - Apache2 / PHP 5.6, can't upload more than 128kb
  • How do I revert sys.stdout.close()?
  • Restart app on force kill
  • 500 internal server error in ruby on rails
  • ASP Error 0223 - TypeLib Not Found, intermittent, resolved after IIS restart
  • How to Use Two Different PHP Versions on One Server
  • 'include' of functions in groovy scripts
  • (Tcl/Expect) clear screen after exit
  • Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no
  • Scanner nextInt() and hasNextInt() problems
  • Using $compile in a directive triggers AngularJS infinite digest error
  • jQuery: How to AJAXify WordPress Search?
  • opencv display image without x server
  • Trying to get the char code of ENTER key
  • Autofac with Web API 2 - Parameter-less constructor error
  • pillow imaging ImportError
  • Authentication in Play! and RestEasy
  • How solve “Qt: Untested Windows version 10.0 detected!”
  • C: Incompatible pointer type initializing
  • Django simple Captcha “No module named fields” error
  • x64 applications using gdi+: what are the consequences on performance?
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • Is there a perl module to validate passwords stored in “{crypt}hashedpassword” “{ssha}hashedpassword
  • Meteor helpers not available in Angular template
  • Jenkins: How To Build multiple projects from a TFS repository?
  • Why is the size of this struct 32?
  • How do I fake an specific browser client when using Java's Net library?
  • Upload files with Ajax and Jquery
  • Do I've to free mysql result after storing it?
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Apache 2.4 - remove | delete | uninstall
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • A cron job substitute?
  • json Serialization in asp
  • using HTMLImports.whenReady not working in chrome