Monthly Archives: October 2016

Install Gearman PHP on CentOS 6

Recently I have to install Gearman on CentOS6. It was really a painful experience.

Firstly I simply installed it via yum, as the official documentation said:

yum install gearmand

So suprising! It was installed successfully.

“We are lucky this time” I think and continue to install Gearman-php

pecl install gearman

But the error occored:

Configure: error: Please install libgearman

The solution to fix it is straight foward:

yum install libgearman-devel

Then install the PHP extension again, it would work properly:

pecl install gearman