Compiling Gearman on Centos 5.9
Centos ships with rather old version of Gearman which also prevents installing latest Gearman PHP module via Pecl. Ideally you would want to build rpm with latest version, but in case you want to go the easy (and bit dirty) way here’s a gist I wrote about it.