# How to set disallow_file_mods to false for production?

**URL:** https://discourse.roots.io/t/how-to-set-disallow-file-mods-to-false-for-production/15820
**Category:** bedrock
**Created:** 2019-06-13T14:29:34Z
**Posts:** 5

## Post 1 by @octoxan — 2019-06-13T14:29:34Z

Now that bedrock does not contain a production.php environment file, how do you set disallow\_file\_mods to false?

We tried adding it to the .env as

DISALLOW\_FILE\_EDIT=false  
DISALLOW\_FILE\_MODS=false

but no luck.

---

## Post 2 by @swalkinshaw — 2019-06-13T14:34:08Z

Two options:

1. just create a `production.php` file :smile: we removed it by default but you can still put anything you want in there
2. set that value in the main `application.php` config then override it in `development`

---

## Post 3 by @octoxan — 2019-06-13T14:35:08Z

Ah lol, maybe we should include an empty one with a comment in it or something? I’m sure it’s in the docs somewhere though and I just missed it. Thanks!

---

## Post 4 by @swalkinshaw — 2019-06-13T14:48:30Z

The docs mention you can create any env file and it will be loaded in that environment: [https://roots.io/bedrock/docs/configuration-files/](https://roots.io/bedrock/docs/configuration-files/)

There’s nothing special about `production`

---

## Post 5 by @system — 2019-07-25T14:29:36Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
