2012-07-07 171 views
3

请任何人帮我在安装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。我如何在Windows操作系统上安装gearman php扩展?

回答

4

安装的Gearman与PHP扩展于CentOS或Debian的看到 How to install Gearman with PHP Extension

安装和更新Cygwin包

https://cygwin.com/install.html

安装最新的gcc和make通过Cygwin

enter image description here

通过Cygwin

安装wget的

安装了libevent

wget http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/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 

安装gearmand和libgearman

wget https://launchpad.net/gearmand/1.2/1.1.11/+download/gearmand-1.1.12.tar.gz 
tar -zxvf gearmand-1.1.12.tar.gz 
cd gearmand-1.1.12 
./configure 
make 
make install 

安装PECL-的Gearman

pecl install gearman 

资源

相关问题