Hi Guys,

I solved an installation issue by replacing a compatible .dll extension.

I am running a following piece of code on my localhost

<?php
/* OO API */
$memcache_obj = new Memcache;
$memcache_obj->connect('127.0.0.1', 11211) or die ("Could not connect");
$memcache_obj->set('any_key', 'some value', 60);
echo $memcache_obj->get('any_key');
?>


But its not working, showing "Could not connect".
Any idea?????

On Mon, Jun 27, 2011 at 9:57 PM, Chetan Gadgilwar <[email protected]>wrote:

> I am new with memcached.
>
> I am trying to install a memcached on my local machine which is windows
> vista.
> Apache version is 2.2.11 & php version is 5.3.0
>
> I used this link for installation
>
> http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/#respond
>
> But still i am getting *Fatal error*: Class 'Memcache' not found
>
> I check an apache error logs & i found
>
>
> <b>Warning</b>:  PHP Startup: memcache: Unable to initialize module
> Module compiled with module API=20060613
> PHP    compiled with module API=20090626
>
>
> I think my php_memcache.dll is not compatible, which is downloaded from
> http://blog.eood.cn/windows-php-memcache-dll-download
>
> i am not able to figure out whats the problem exactly.
>
> Is any idea why its happening, please suggest me & help me out because its
> only a starting point to memcahced.
>
> --
>  Best wishes,
>  Chetan Gadgilwar
>



-- 
 Best wishes,
Chetan Gadgilwar

Reply via email to