👋 Enjoying the content? Subscribe to our Medium publication for more articles like this. 👇
Keep Learning

Gearman Job Server Installation (PHP 8.1) Ubuntu 22.04

BY Atakan Demircioğlu
Table of Contents

My notes about Gearman Job Server installation Ubuntu 22.04 (PHP 8.1).

Gearman Job Server Installation (PHP 8.1) Ubuntu 22.04 image 1gearman-2022

Gearman Job Server Installation (PHP 8.1) Ubuntu 22.04

My notes about Gearman Job Server installation Ubuntu 22.04 (PHP 8.1).

Don't install with PECL, the last release doesn't cover some errors

cd /tmp phpize ./configure make sudo make install          

Then;

apt-get install gearman-job-server

Add to following lines to PHP.ini

You then need to make PHP aware of the new extension by adding the
following line to your php.ini:

extension="gearman.so"

Check the configuration

You can then test if the module is configure correctly with the
PHP cli:

php --info | grep gearman

php