Published in PHP
Gearman Job Server Installation (PHP 8.1) Ubuntu 22.04
By Atakan Demircioğlu
Fullstack Developer
My notes about Gearman Job Server installation Ubuntu 22.04 (PHP 8.1).
gearman-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
- One of the errors is ZVAL_NEW_ARR issue.
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