如何在 Windows 操作系统上安装 gearman php 扩展?
请任何人帮助我在 windows xp 上安装 gearman php 扩展.我的系统上安装了 xampp 1.7.7,并且我的系统上安装了 Cygwin、libevent-1.4.14b-stable 和 gearmand.请让我知道安装 gearman-1.0.2 php 扩展还需要什么.当我在cygwin终端上运行gearman-1.0.2时,找不到命令错误.
解决方案要在 CentOS 或 Debian 中安装带有 PHP 扩展的 Gearman,请参阅
安装 libevent
wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gztar -zxvf libevent-2.0.22-stable.tar.gzcd libevent-2.0.22-stable./配置制作进行安装
安装 gearmand 和 libgearman
wget https://github.com/gearman/gearmand/archive/1.1.12.tar.gztar -zxvf gearmand-1.1.12.tar.gzcd gearmand-1.1.12./配置制作进行安装
安装 pecl-gearman
pecl 安装 gearman
资源
http://www.cppblog.com/guojingjia2006/archive/2012/12/28/196743.html
Cygwin Make bash 命令未找到
https://gist.github.com/mnapoli/5270256
如何使用 PHP 扩展安装 Gearman
Please anybody help me out in installing gearman php extension on windows xp. I have xampp 1.7.7 installed on my system and i have installed Cygwin, libevent-1.4.14b-stable and gearmand on my system. Please let me know what more is needed to install gearman-1.0.2 php extension. As when i run the gearman-1.0.2 on cygwin terminal throwing error of command not found.
解决方案to install Gearman with PHP Extension in CentOS or Debian see How to install Gearman with PHP Extension
Installing and Updating Cygwin Package
from: https://cygwin.com/install.html
Install the Latest GCC and make via Cygwin
- http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/cygwin/part2/
Install wget via Cygwin
- https://superuser.com/questions/693284/wget-command-not-working-in-cygwin
Install libevent
wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz tar -zxvf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable ./configure make make install
install gearmand and libgearman
wget https://github.com/gearman/gearmand/archive/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
http://www.cppblog.com/guojingjia2006/archive/2012/12/28/196743.html
Cygwin Make bash command not found
https://gist.github.com/mnapoli/5270256
How to install Gearman with PHP Extension
相关文章