gearmand安装:
https://launchpadlibrarian.net/165674261/gearmand-1.1.12.tar.gz
http://pecl.php.net/get/gearman-1.1.2.tgz
http://www.sqlite.org/2015/sqlite-autoconf-3090200.tar.gz
yum install boost-devel gperf libevent-devel libuuid-devel
安装gearmand
#./configure --prefix=/opt/app/gearmand --with-sqlite3=/usr/local/sqlite3
#make && make install
启动
mkdir -p /opt/app/gearmand/var/log/
#/opt/app/gearmand/sbin/gearmand -d
yum install libgearman-devel
#/opt/app/php5/bin/phpize
#./configure --with-php-config=/opt/app/php5/bin/php-config
vim php.ini
extension = gearman.so
时间: 2024-10-23 01:58:59