Gearman PHP Extension
While installing Gearman PHP extension I have used my custom path to use PHP config from.
If we have custom installation of PHP we need to provide –with-php-config option while configure.

We can find available option to give while configuring can be found by -help option passed with ./configure
# ./configure –help
use the above command before executing ./configure

# yum install php-devel
# wget http://pecl.php.net/get/gearman-1.1.1.tgz
# tar -xzvf gearman-1.1.1.tgz
# cd gearman-1.1.1
# phpize
# ./configure --with-php-config=/home/ashu/dev/php/bin/php-config
# make test
# make install
Now write extension="gearman.so" in php.ini

Now Gearman php extension is available to use and we can write our Gearman worker and Gearman client programs.

Gearman Job Server Installation

Leave a Reply

Your email address will not be published. Required fields are marked *