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.
Asked
Active
Viewed 6,279 times
4

Wladimir Palant
- 56,865
- 12
- 98
- 126

udaydesai08
- 53
- 1
- 6
-
Finde here for pear extension -- https://stackoverflow.com/a/50628109/3575770 – phpnerd May 31 '18 at 15:50
-
You can find detailed steps [here](https://stackoverflow.com/a/50628109/3575770) – phpnerd Jun 01 '18 at 05:57
1 Answers
5
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
Install wget via 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

Ashish Bhagat
- 409
- 3
- 16

RafaSashi
- 16,483
- 8
- 84
- 94
-
1The launchpad link expired, you can find the exact same gearmand package on Github: `https://github.com/gearman/gearmand/archive/1.1.12.tar.gz` – Azeirah Jun 15 '18 at 08:07
-
Same goes for the libevent link, here's an updated link. `https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz` – Azeirah Jun 15 '18 at 08:11