Re: [PEAR] install gearman on my windows with compatible release error
[email protected] (Michael Gauthier) Mon, 03 Nov 2014 15:31:14 -0400
| Newsgroups | php.pear.general |
|---|---|
| Message-ID | <[email protected]> |
On 2014-10-31 12:25, mstdmstd wrote: > Hi all, > I want to install gearman on my windows 7 with xammp, Apache/2.4.10 (Win32) > OpenSSL/1.0.1i PHP/5.5.15 > Here http://pear.php.net/package/Net_Gearman I found article hopw to install > it. > > I uploaded pyrus.phar file from http://pear2.php.net/ and copied it into > e:\WebServersOnC\xammp\php\ directory whrer there is php.exe file > > Running command > php pyrus.phar install pear/Net_Gearman > I got error that could not find a compatible release. > http://s017.radikal.ru/i405/1410/27/a12ac484a6bb.png > > If there is a way to fix it? > > Hi mstdmst, You need to set your preferred package state to 'alpha' since the Net_Gearman package doesn't have any stable releases. You can do this with the pyrus command: $ pyrus set preferred_state alpha If you're working with Gearman, I recommend using the native PHP extension (http://www.php.net/gearman) instead of the PEAR package. It may be more difficult to install in Windows but it has more features and better performance. Also, the PEAR package and the PHP extension will let you talk to Gearman but you still need to have a gearmand job server running somewhere. It may be difficult to get running on Windows. Cheers and good luck, Mike > > -- > View this message in context: http://php-pear.1086190.n5.nabble.com/install-gearman-on-my-windows-with-compatible-release-error-tp37351.html > Sent from the General mailing list archive at Nabble.com. >