# Question - /config/modules.config.php

**URL:** <https://discourse.laminas.dev/t/question-config-modules-config-php/3321>\
**Category:** Components & MVC\
**Tags:** laminas-mvc\
**Created:** [April 28, 2023, 10:08pm UTC](https://discourse.laminas.dev/t/question-config-modules-config-php/3321 "2023-04-28T22:08:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kriss\_Kals](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/kriss_kals/32/1295_2.png) [@Kriss\_Kals](https://discourse.laminas.dev/u/Kriss_Kals)\
**Post date:** [April 28, 2023, 10:08pm UTC](https://discourse.laminas.dev/t/question-config-modules-config-php/3321/1 "2023-04-28T22:08:29Z")

</div>

Hi,

I have removed the contents of the file /config/modules.config.php. How can I generate new and updated content for this file?

Greetings

---

<div class="post-metadata">

**Author:** ![ALTAMASH80](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/altamash80/32/895_2.png) [@ALTAMASH80](https://discourse.laminas.dev/u/ALTAMASH80)\
**Post date:** [April 29, 2023, 3:04pm UTC](https://discourse.laminas.dev/t/question-config-modules-config-php/3321/2 "2023-04-29T15:04:35Z")

</div>

@Kriss_Kals,

Try something like below:

```auto
rm -rf /config

```

hope it will help.
