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 6644633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:11:23+00:00 2026-05-26T00:11:23+00:00

Having issues using the PHP memcached class. I am running a LAMP environment on

  • 0

Having issues using the PHP memcached class.

I am running a LAMP environment on Ubuntu 10.10 with Apache 2.2.16 and PHP 5.3.3.
I have just installed what I thought was memcached, but seems possibly to be memcache?

I can start a new memcache object with:

$m = new Memcache;

Which works fine. But when I try and start a memcached object

$m = new Memcached();

I get the following error

Fatal error: Class 'Memcached' not found

When I run ‘ps -A | grep Memcache’ through the console, it returns

ben@ben-computer:/tmp$ ps -A | grep memcache
1214 ?        00:00:00 memcached

Showing a running memcached process.
phpinfo() returns memcache version 2.2.6.

But when I look further into etc folder

ben@ben-computer:/etc/default$ cat memcached 
# Set this to no to disable memcached.
ENABLE_MEMCACHED=yes

Then when i run php -m it returns memcache.

You kind of get the picture, i have no idea why memcache is running instead of memcached, any help would be great.

Edit:

I think it could be an issue with libmemcached. I installed the libmemcached-dev package, but not sure if that’s the same?

  • 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-05-26T00:11:24+00:00Added an answer on May 26, 2026 at 12:11 am

    The memcached extension is not a standard component of PHP, and must be installed separately from PECL. Instructions are online at:

    http://php.net/memcached.installation

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

Sidebar

Related Questions

I have been having some issues with LINQ-To-SQL around memory usage. I'm using it
I'm having issues sending emails using the php mail() function. I know the php
I'm having issues with php-cgi.exe crashing while using php-pdo-mysql.dll. I'm using the data mapper
I'm having some issues with using PHP to convert ISO-8859-1 database content to UTF-8.
I am having some issues returning data from on page, using jQuery, PHP and
I'm running WP 3.0.1 on a shared host using PHP5. I'm having issues uploading
I'm forced to upgrade to Python 2.6 and am having issues using Numerical Python
I am having some issues with using the OrderBy extension method on a LINQ
I'm having issues creating an ActionLink using Preview 5. All the docs I can
I'm having issues with my SQL Reporting Services reports. I'm using a custom font

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.