just like our information on installing Gearman on Ubuntu 12.04, this information will get you all set up and running with Gearman on Ubuntu 14.04. should you dont recognize, Gearman is a job runner and a job server that lets you parallelize duties easily and run different employees in numerous languages easily. beneath we will describe and lay out the vital steps to getting Gearman put in. Step 1: install tool-homes-common and the Gearman PPA In Ubuntu 14.04, python-tool-houses had been replaced via tool-houses-widespread. we can go beforehand and install this along with a useful Gearman PPA. 1 2 three sudo apt-get set up instrument-homes-well-liked sudo add-apt-repository ppa:gearman-builders/ppa sudo apt-get update Step 2: install the Gearman Job Server & Dev instruments, & function upgrade next, we set up the job server and the instruments for Gearman. as soon as again, the fantastic thing about the apt-get command makes this painless and straightforward. 1 2 sudo apt-get install gearman-job-server libgearman-dev sudo apt-get upgrade Step three: install p.c. & Use It to install Gearman (CLI, consumer, worker) Now, if you dont have it, we need to install % after which use it to install Gearman. 1 2 three sudo apt-get install php-pear sudo apt-get install php5-dev sudo percent install gearman Step four: update Our php.ini (CLI and Server) to make use of Gearman The remaining step is to let PHP understand to use the gearman.so extension when it runs. There are two php.ini information that most often wish to be up to date. the primary is the CLI version and the other is the Apache model. For the CLI php.ini (/and many others/php5/cli/php.ini) Open your php.ini on your favorite text editor. 1 sudo vim /etc/php5/cli/php.ini Add the following line in the Dynamic Extensions portion of your php.ini. 1 extension=gearman.so For the Apache-based totally php.ini (/and so on/php5/apache2/php.ini) Open your php.ini for your favourite text editor. Please observe this is a different file than the one we simply lined. 1 sudo vim /etc/php5/apache2/php.ini Add the Dynamic Extension once more in this file. 1 extension=gearman.so Restart Apache: 1 sudo service apache2 restart Step 5: are attempting the Examples Gearman also deals examples you need to use to take a look at and test your Gearman set up. Conclusion That used to be simple, huh?! when you’ve got any issues or any additions, subtractions, or adjustments, please tell us within the comments under.