Install php gearman on ubuntu precise

By | November 21, 2012


1. Install the gearman job server and libgearman :

sudo apt-get install gearman-job-server libgearman-dev

2. Install the pecl extension

sudo apt-get install php-pear php5-dev
sudo pecl install gearman

The output will show something like this at the end :

Build process completed successfully
Installing '/usr/lib/php5/20100525/'
install ok: channel://
configuration option "php_ini" is not set to php.ini location
You should add "" to php.ini

3. Edit php.ini file :

$ locate php.ini

Open the correct php.ini file and add at the end.

4. Restart apache

Last Updated On : 21st November 2012

Leave a Reply

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