Intalling Libevent on Windows

836 views
Skip to first unread message

IsaacMyPHPHero

unread,
May 7, 2010, 5:09:17 PM5/7/10
to memcached
Hi,

Can someone please walk me through on how to get libevent up and
running on Windows? My Memcached is not working and I suspect it is
because of this.

Thank you.

Henrik Schröder

unread,
May 8, 2010, 3:39:25 PM5/8/10
to memc...@googlegroups.com
What do you mean "up and running" ?

It's a code library that memcached links to, not some sort of stand-alone service it uses.

What specific problem do you have with running Memcached in windows?


/Henrik

Isaac Reyes

unread,
May 8, 2010, 3:52:27 PM5/8/10
to memc...@googlegroups.com, memc...@googlegroups.com
Thank you Henrik. 

Memcached just doesn't work, even though I installed it and started it correctly. When I declare the Memcached class, I get an error saying that it does not exist.   

So I suspect the problem is with Libevent since I never really installed it - there are no clear instructions on how to do this anywhere. 

Thanks again for your help.  

Isaac

Henrik Schröder

unread,
May 8, 2010, 6:44:43 PM5/8/10
to memc...@googlegroups.com
When you declare the what now?

Memcached is a service, you can check if it's installed properly as a service in the service management console, and you can also telnet to port 11211 on your machine to see if it's responding properly. Again, you do not need to install libevent, it's not something you *can* install even.

To use memcached in a program you need a memcached client library, and I suspect this is where you are having problems? Which client library are you trying to use? Which programming language?


/Henrik

IsaacMyPHPHero

unread,
May 9, 2010, 3:56:18 PM5/9/10
to memcached
I looked further into the problem after you mentioned the library.
It's for PHP and the extension was not installed. I confirmed that
Memcached is indeed running (as a service) but it's not communicating
with PHP.

Following instructions from the PHP manual, I typed in the command...

pecl install memcached

... Everything starts good, but at the end, I receive the error

"The DSP memcached.dsp does not exist"

I also tried looking for php_memcached.dll to just place it in the
extensions directory, but for the life of me, I cannot find it
anywhere online.

If you have ever done this for Windows, could you please just walk me
through how you did it?


Thanks for your help and direction.

Isaac


On May 8, 12:44 pm, Henrik Schröder <skro...@gmail.com> wrote:
> When you declare the what now?
>
> Memcached is a service, you can check if it's installed properly as a
> service in the service management console, and you can also telnet to port
> 11211 on your machine to see if it's responding properly. Again, you do not
> need to install libevent, it's not something you *can* install even.
>
> To use memcached in a program you need a memcached client library, and I
> suspect this is where you are having problems? Which client library are you
> trying to use? Which programming language?
>
> /Henrik
>
>
>
> On Sat, May 8, 2010 at 21:52, Isaac Reyes <isaac.my.h...@gmail.com> wrote:
> > Thank you Henrik.
>
> > Memcached just doesn't work, even though I installed it and started it
> > correctly. When I declare the Memcached class, I get an error saying that it
> > does not exist.
>
> > So I suspect the problem is with Libevent since I never really installed it
> > - there are no clear instructions on how to do this anywhere.
>
> > Thanks again for your help.
>
> > Isaac
>
> > On May 8, 2010, at 9:39 AM, Henrik Schröder <skro...@gmail.com> wrote:
>
> > What do you mean "up and running" ?
>
> > It's a code library that memcached links to, not some sort of stand-alone
> > service it uses.
>
> > What specific problem do you have with running Memcached in windows?
>
> > /Henrik
>
> > On Fri, May 7, 2010 at 23:09, IsaacMyPHPHero < <isaac.my.h...@gmail.com>
> > isaac.my.h...@gmail.com> wrote:
>
> >> Hi,
>
> >> Can someone please walk me through on how to get libevent up and
> >> running on Windows? My Memcached is not working and I suspect it is
> >> because of this.
>
> >> Thank you.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages