How to install Gearman with PHP Extension

◇◆丶佛笑我妖孽 提交于 2019-11-30 22:01:26
RafaSashi

to install Gearman with PHP Extension in Windows OS see How can i install gearman php extension on Windows OS?

install Boost headers

debian

apt-get install libboost-all-dev

fedora

yum install boost-devel

install gperf

debian

apt-get install gperf

fedora

yum install gperf

install libevent

debian

apt-get install libevent-dev

fedora

yum install libevent-devel

install uuid

debian

apt-get install uuid-dev

fedora

yum install uuid-devel

install libcloog-ppl0

debian

apt-get install libcloog-ppl-dev

install gearmand and libgearman

wget https://launchpad.net/gearmand/1.2/1.1.12/+download/gearmand-1.1.12.tar.gz
tar -zxvf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12
./configure
make
make install

install pecl-gearman

pecl install gearman

Resources

For Debian, you should try this line:

sudo apt-get install libgearman2

instead of:

sudo apt-get install libgearman-dev

http://www.masnun.com/2011/09/30/installing-and-getting-started-with-gearman.html

Aley

I found the solution in this post installing-gearman-php-extension-on-debian-6.

On Debian 6 / squeeze you can only install up to version 0.8.3. If you want a newer version, you have to upgrade to wheezy.

Please try the steps mentioned here:

http://www.daredevel.com/php-jobs-with-gearman-and-supervisor/

thanks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!