[nycphp-talk] Gearman
Ajai Khattri
ajai at bitblit.net
Thu Jan 31 11:43:48 EST 2013
On Thu, 31 Jan 2013, Klederson Bueno wrote:
> Please let me know your steps to install it, php version, linux distro,
> etc...
Im running on PHP 5.3.3 under CentOS 6.2. (Apache and PHP are both just
the standard packages installed via YUM).
Basic install steps:
1) Download and install Gearman 1.1.4, i.e.
# cd /usr/local/src
# wget "https://launchpad.net/gearmand/1.2/1.1.1/+download/gearmand-1.1.4.tar.gz"
# tar -zxvf gearmand-1.1.4.tar.gz
# cd gearman-1.1.4
# make -j 1 install
2) Install PECL extension
# pecl install gearman
(edit php.ini, add extension to PHP)
3) Restart Apache, i.e.
# service httpd stop
# service httpd start
4) Verify for CLI, i.e.
# php -i | grep gearman
gearman
gearman support => enabled
libgearman version => 1.1.4
--
Aj.
More information about the talk
mailing list