# \#php-memory

**URL:** https://community.localwp.com/tag/php-memory/260.md

[Latest](https://community.localwp.com/latest.md) · [Categories](https://community.localwp.com/categories.md) · [Tags](https://community.localwp.com/tags.md)

---

## [Fatal error: Allowed memory size of 268435456 bytes exhausted](https://community.localwp.com/t/fatal-error-allowed-memory-size-of-268435456-bytes-exhausted/42715)

<div class="topic-metadata">

**Author:** [@gilloo](https://community.localwp.com/u/gilloo)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 4:44pm UTC](https://community.localwp.com/t/fatal-error-allowed-memory-size-of-268435456-bytes-exhausted/42715 "2024-05-07T16:44:22Z")

</div>

What issue or error are you experiencing? I was working on a very large page of my Wordpress site when I encountered a server error. I have the following error message: fatal error: allowed memory size of 268435453 byte…

---

## [How to increase the php memory limit beyond 256M](https://community.localwp.com/t/how-to-increase-the-php-memory-limit-beyond-256m/41576)

<div class="topic-metadata">

**Author:** [@donegalpics](https://community.localwp.com/u/donegalpics)\
**Replies:** 8\
**Last updated:** [February 28, 2024, 4:11pm UTC](https://community.localwp.com/t/how-to-increase-the-php-memory-limit-beyond-256m/41576 "2024-02-28T16:11:54Z")

</div>

Hi, how can I increase the php memory limit on loacalwp, windows 10? I find the wp-config file but it doesn’t allow me to edit because nothing is showing up. Thanks to all for your help

---

## [Increasing wp memory limit](https://community.localwp.com/t/increasing-wp-memory-limit/33521)

<div class="topic-metadata">

**Author:** [@frozentoken](https://community.localwp.com/u/frozentoken)\
**Replies:** 0\
**Last updated:** [September 28, 2022, 11:02pm UTC](https://community.localwp.com/t/increasing-wp-memory-limit/33521 "2022-09-28T23:02:02Z")

</div>

do these 3 steps for wp memory increase from 40M to 256 Edit the (php.ini) file by adding: memory\_limit = 256M Edit (wp-config.php) file by adding: define (‘WP\_MEMORY\_LIMIT’, ‘256M’); 3.Edit (default-constants.php) fi…

---

## [Php memory increase](https://community.localwp.com/t/php-memory-increase/2883)

<div class="topic-metadata">

**Author:** [@johnnyrains](https://community.localwp.com/u/johnnyrains)\
**Replies:** 6\
**Last updated:** [January 15, 2019, 2:13am UTC](https://community.localwp.com/t/php-memory-increase/2883 "2019-01-15T02:13:38Z")

</div>

I am trying to increase WP Memory Limit on Local. I added this line to my wp\_config.php file: define( ‘WP\_MEMORY\_LIMIT’, ‘64M’ ); but I don’t think that worked even after I stopped and restarted the site on Local
