Gearman 安装


60.3. Gearman

http://gearman.org/

60.3.1. Getting Started with Gearman

60.3.1.1. CentOS

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum install gearmand

60.3.2. Gearman PHP Extension

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

install libgearman-devel
pecl install channel://pecl.php.net/gearman-0.8.3

cat >> /srv/php/etc/conf.d/gearman.ini <<EOF
extension=gearman.so
EOF

测试安装

# php -r 'printf("%s \r\n", gearman_version());'
0.14

你可能感兴趣的:(netkiller,gearman)