# Configuration Problem

**URL:** <https://discourse.laminas.dev/t/configuration-problem/2022>\
**Category:** Uncategorized\
**Tags:** zf1\
**Created:** [December 27, 2020, 4:26am UTC](https://discourse.laminas.dev/t/configuration-problem/2022 "2020-12-27T04:26:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![khadimfirdosi](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@khadimfirdosi](https://discourse.laminas.dev/u/khadimfirdosi)\
**Post date:** [December 27, 2020, 4:26am UTC](https://discourse.laminas.dev/t/configuration-problem/2022/1 "2020-12-27T04:26:32Z")

</div>

Hi All! I have been facing this issue while configuring a zend project on xampp server with database please help me to resolve this issue thanks in advance… 🙂  
**Fatal error** : Uncaught Zend\_Cache\_Exception: cache\_dir “C:\xampp\htdocs\ept\application\cache” must be a directory in C:\xampp\htdocs\ept\library\Zend\Cache.php:209 Stack trace: #0 C:\xampp\htdocs\ept\library\Zend\Cache\Backend\File.php(177): Zend\_Cache::throwException(‘cache\_dir "C:\x…’) #1 C:\xampp\htdocs\ept\library\Zend\Cache\Backend\File.php(128): Zend\_Cache\_Backend\_File-\>setCacheDir(‘C:\xampp\htdocs…’) #2 C:\xampp\htdocs\ept\library\Zend\Cache.php(153): Zend\_Cache\_Backend\_File-\>\_\_construct(Array) #3 C:\xampp\htdocs\ept\library\Zend\Cache.php(94): Zend\_Cache::\_makeBackend(‘File’, Array, false, false) #4 C:\xampp\htdocs\ept\application\Bootstrap.php(29): Zend\_Cache::factory(‘Core’, ‘File’, Array, Array) #5 C:\xampp\htdocs\ept\library\Zend\Application\Bootstrap\BootstrapAbstract.php(681): Bootstrap-\>\_initAppSetup() #6 C:\xampp\htdocs\ept\library\Zend\Application\Bootstrap\BootstrapAbstract.php(634): Zend\_Application\_Bootstrap\_BootstrapAbstract-\>\_executeResource(‘appsetup’) #7 C:\xampp\htdocs\ept\library\Zend\App in **C:\xampp\htdocs\ept\library\Zend\Cache.php** on line **209**

---

<div class="post-metadata">

**Author:** ![rieschl](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/rieschl/32/729_2.png) [@rieschl](https://discourse.laminas.dev/u/rieschl)\
**Post date:** [December 29, 2020, 4:55pm UTC](https://discourse.laminas.dev/t/configuration-problem/2022/2 "2020-12-29T16:55:42Z")

</div>

Hi!

It seems that the directory `C:\xampp\htdocs\ept\application\cache` does not exist.  
try creating that directory and ensure that the web server has write permissions in that directory.

besides that, I don’t recognize the classes in the stack trace. it looks like Zend Framework 1. Is that a new project? Zend Framework 1 is veeery old. Also, Zend Framework has been renamed to Laminas. If you want to start a new project, you might want to look into [GitHub - laminas/laminas-mvc-skeleton: Skeleton application for creating laminas-mvc based projects.](https://github.com/laminas/laminas-mvc-skeleton)

---

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [December 30, 2020, 1:56pm UTC](https://discourse.laminas.dev/t/configuration-problem/2022/3 "2020-12-30T13:56:19Z")

</div>

Hello and welcome to our forums! 😃

> [@khadimfirdosi](#):
>
> please help me to resolve this issue

You are using a very old and outdated version of Zend Framework. Like @rieschl said you should look at the new version and the new name “Laminas”.

A tutorial to getting started can be found in the documentation: [Overview - tutorials - Laminas Docs](https://docs.laminas.dev/tutorials/getting-started/overview/)

> [@rieschl](#):
>
> it looks like Zend Framework 1.

`Zend_Application_Bootstrap_BootstrapAbstract` is version 1 of the Zend Framework.

---

<div class="post-metadata">

**Author:** ![khadimfirdosi](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@khadimfirdosi](https://discourse.laminas.dev/u/khadimfirdosi)\
**Post date:** [December 31, 2020, 5:26am UTC](https://discourse.laminas.dev/t/configuration-problem/2022/4 "2020-12-31T05:26:54Z")

</div>

It was the issue of cache operations that should be disable in dev area. Thanks to all 🙂

---

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [December 31, 2020, 10:13am UTC](https://discourse.laminas.dev/t/configuration-problem/2022/5 "2020-12-31T10:13:54Z")

</div>

Please remember that Zend Framework version 1 is outdated and has not received security fixes for years. You should not use this any more!
