0

How can I install libevent on Windows? Tryed to make this via PECL but got an error "WARNING: php_bin C:\PHP\php.exe appears to have a suffix .exe, but config variab le php_suffix does not match"

2 Answers2

1

I find this url quite helpful:

http://code.jellycan.com/memcached/

The author made a modified version of libevent and memcached. According to the author, "These projects are based on the existing win32 builds of the two projects. Just fixed so that they work. Neither library has been modified from the respective released version other than to add win32 required changes."

It can be built using Visual Studio.

0

You can compile libevent from source using Visual Studio command line tools. You should extract libevent sources somewhere, the cd to that folder and type nmake Makefile.nmake there.

Alex
  • 7,789
  • 4
  • 36
  • 51