Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8099295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:21:43+00:00 2026-06-05T22:21:43+00:00

i installed memcached and I also started the service by typing net start memcached

  • 0

i installed memcached and I also started the service by typing net start “memcached Server” and it said the service already started so i restarted apache and tried a couple of codes for using memcached:

<?php
//phpinfo();
$memcache = new Memcache;
$memcache->connect("localhost",11211); //change if necessary

$tempArray = array('fish', 'cow', 'demon');
$temp = serialize($testArray);

$memcache->add("key", $temp, 60);
print_r(unserialize($memcache->get("key")));


?>

but it gives an error:Fatal error: Class 'Memcache' not found in C:\wamp\www\temp.php on line 3
does this mean memcache is not started or anything else? i have not done anything except installing and starting the service do i need to do anything else like specifying The RAM and adding the server or anything else? I am using wamp server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:21:45+00:00Added an answer on June 5, 2026 at 10:21 pm

    Here are the steps that worked for me:

    Url: How to enable memcache in WAMP

    Needed Files

    memcached.exe Direct Link
    MSVCP71.DLL Windows DLL Files
    msvcr71.dll
    php_memcache.dll Working memcache for PHP 5.3.4
    

    Steps

    Copy MSVCP71.DLL, msvcr71.dll to C:\windows\sysWOW64
    Copy memcached.exe into C:\memcached
    Click Windows-Key
    Type: CMD
    press: Ctrl-Shift-Enter
    Choose yes
    type: C:\memcached\memcached.exe -d install
    type: C:\memcached\memcached.exe -d start
    Copy php_memcache.dll to C:\wamp\bin\php\php5.3.4\ext
    Restart Apache using Wamp controls
    Enable WAMP -> PHP -> PHP Extensios -> php_memcache
    

    Then, I hit the phpinfo(), it wasn’t display the memcache property. Any one can help me to install the wmap.

    —
    Thanks
    D.Jeeva

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just installed memcached and tried a couple of sample code found on php.net
I have memcached installed with libmemcached. Also I have installed igbinary . This is
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
I installed Python 3.x (besides Python 2.x on Ubuntu) and slowly started to pair
How do I test if memcache or memcached (for PHP) is installed on my
I just installed membase and the enyim client for .NET, and came across an
I've installed libmemcached and memcached pecl extension for php and for some reason it's
Ive got memcached installed and have it set to be the default cache store
I am using spymemcached client library v2.8.0 provided by couchbase folks. The memcached server
I wrote my own cacheEngine for memcached as that's the extension I have installed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.