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

  • Home
  • SEARCH
  • 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 6830581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:38:05+00:00 2026-05-26T22:38:05+00:00

I am developing a nice application that seems to be running fine, I’ve started

  • 0

I am developing a nice application that seems to be running fine, I’ve started to add some PHPUnit tests to the project. However whenever I try and run a test I get the following error:

Zend_Cache_Exception: file Zend/Cache/Backend/Memcache.php not found in include_path

When I look into that path of the file system, there is no Memcache.php, only Memcached.php.

The full stacktrace from the phpunit run looks like this.

1) IndexControllerTest::testIndexAction Zend_Cache_Exception: file
Zend/Cache/Backend/Memcache.php not found in include_path

/opt/www/development/app/library/Zend/Cache.php:209

/opt/www/development/app/library/Zend/Cache.php:148

/opt/www/development/app/library/Zend/Cache.php:94

/opt/www/development/app/library/Zend/Cache/Manager.php:173

/opt/www/development/app/application/Bootstrap.php:64

/opt/www/development/app/library/Zend/Application/Bootstrap/BootstrapAbstract.php:667

/opt/www/development/app/library/Zend/Application/Bootstrap/BootstrapAbstract.php:620

/opt/www/development/app/library/Zend/Application/Bootstrap/BootstrapAbstract.php:584

/opt/www/development/app/library/Zend/Application.php:355

/opt/www/development/app/library/Zend/Test/PHPUnit/ControllerTestCase.php:155

/opt/www/development/app/library/Zend/Test/PHPUnit/ControllerTestCase.php:136

/opt/www/development/app/tests/application/controllers/IndexControllerTest.php:9

Any idea why this is being thrown when running unit tests but not when I run the application fully?

Thanks in advance.

  • 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-26T22:38:06+00:00Added an answer on May 26, 2026 at 10:38 pm

    The name of the cache is Memcached, not Memcache. Without seeing your code I can’t say why you don’t get an error outside of unit testing. Zend_Cache::_makeBackend() will throw an exception if the file doesn’t exist or the class isn’t found.

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

Sidebar

Related Questions

I am developing a multilingual web application that has a nice looking UI. I
I am developing an application that distributes rendering across several devices (a university project).
I am working on a project that is developing a website application for 3
Developing a project of mine I realize I have a need for some level
I'm developing an application that communicates with an internal web service using HTTP. Are
Right now I'm developing the prototype of a web application that aggregates large number
I'm currently developing an application in C# that uses Amazon SQS The size limit
I am developing a commercial VB.net WPF application that needs user generated scripts for
I'm developing an application that needs to store lots of records in an organized
I am developing an application that needs to store information to a database. I

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.