# Copy Files on configs folder

**URL:** <https://discourse.laminas.dev/t/copy-files-on-configs-folder/2004>\
**Category:** Components & MVC\
**Created:** [December 17, 2020, 6:34pm UTC](https://discourse.laminas.dev/t/copy-files-on-configs-folder/2004 "2020-12-17T18:34:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joao\_Victor\_Sarzi](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/joao_victor_sarzi/32/854_2.png) [@Joao\_Victor\_Sarzi](https://discourse.laminas.dev/u/Joao_Victor_Sarzi)\
**Post date:** [December 17, 2020, 6:34pm UTC](https://discourse.laminas.dev/t/copy-files-on-configs-folder/2004/1 "2020-12-17T18:34:19Z")

</div>

Hi everyone!  
I am trying to copy and past files on config folder.  
I have some files there were I put .dist to end the names file. I create a folder names features (config/features) where i will save some configuration files. But when i deploy first time and i acess the application I jsut verify exists the .php, if not i have to copy the .dist to the same folder without the .dist.  
And the result is “failed to open stream: Permission denied”, but the chmod is right.

Need some help!

---

<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 22, 2020, 2:58pm UTC](https://discourse.laminas.dev/t/copy-files-on-configs-folder/2004/2 "2020-12-22T14:58:35Z")

</div>

Hello and welcome to our forums! 😃

> [@Joao\_Victor\_Sarzi](#):
>
> I am trying to copy and past files on config folder.

Do you use [laminas-config](https://docs.laminas.dev/laminas-config/) for that?
