用 Gearman 打造 PHP 排程

回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

用 Gearman 打造 PHP 排程

文章 yehlu »

http://www.slideshare.net/appleboy/gear ... an-in-php/

Job Server

代碼: 選擇全部

aptitude -y install gearman gearman-job-server libgearman-dev libdrizzle0
Client library

代碼: 選擇全部

peclinstall channel://pecl.php.net/gearman-1.1.2
echo'extension=gearman.so' > /path/gearman.ini
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: 用 Gearman 打造 PHP 排程

文章 yehlu »

yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: 用 Gearman 打造 PHP 排程

文章 yehlu »

1.下載
https://launchpad.net/gearmand

2.設定

代碼: 選擇全部

./configure
3.錯誤
boost headers version >= 1.39

4.
http://askubuntu.com/questions/310941/w ... st-headers

代碼: 選擇全部

sudo apt-get build-dep gearman-job-server
5.錯誤
configure: error: could not find gperf

6.
http://blog.rzj.me/posts/centos-62-gearmand-118

代碼: 選擇全部

sudo apt-get install gperf
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: 用 Gearman 打造 PHP 排程

文章 yehlu »

http://stackoverflow.com/questions/1331 ... n-debian-6

代碼: 選擇全部

sudo add-apt-repository ppa:gearman-developers/ppa
sudo apt-get install gearman
sudo apt-get install libgearman-dev

mahdeen
文章: 1
註冊時間: 2014-11-12 15:45:01

Re: 用 Gearman 打造 PHP 排程

文章 mahdeen »

感谢您分享给我们。有很多人搜索有关,现在他们会找到足够的资源,你的帖子。我想加入您的论坛呢,请继续与我们分享
We offer up to date 1z0-054 exam questions - pass4-sure.net exam wikipedia questions with self paced test engine to help you Kyoto University exam and complete your ccent course ICDL you should also find ccnp wireless training for your complete VMWARE
回覆文章

回到「PHP」