# FastCGI PHP Fatal Error Memory Exhausted

**URL:** https://discourse.roots.io/t/fastcgi-php-fatal-error-memory-exhausted/15368
**Category:** trellis
**Created:** 2019-04-23T14:03:46Z
**Posts:** 11
**Showing post:** 7 of 11

## Post 7 by @ben — 2019-04-23T23:04:31Z

What about updating some PHP settings?

```
php_max_execution_time: 300
php_max_input_time: 300
php_memory_limit: 256M
php_max_input_vars: 2000
```

> [@smashcreative](#):
>
> I put the following inside group\_vars/main.yml

That’s correct :+1:

---

_[View the full topic](https://discourse.roots.io/t/fastcgi-php-fatal-error-memory-exhausted/15368)._
