How Do I Change PHP Memory Limit in WordPress?

PHP memory limit is a configurable limit on the total amount of memory PHP can use. WordPress sets this limit to 128MB.

If your WordPress site is using more than 128MB of memory, you’ll need to increase PHP memory limit.

To increase PHP memory limit in WordPress:

1. Log into your WordPress site’s admin panel.

2. Click on the “Settings” menu item.

3. Click on the “Performance” tab.

4. Locate the “Memory limit” field.

5. Change the value to a higher number (256MB is a good starting point).

6. Click on the “Save changes” button.

7. Restart your WordPress site.

8. Check your WordPress site’s memory usage to see if the increased memory limit has helped.