{"id":306,"date":"2022-09-25T14:19:44","date_gmt":"2022-09-25T14:19:44","guid":{"rendered":"https:\/\/kentatheme.com\/blog\/docs\/kenta-theme\/troubleshooting\/increasing-php-memory-limit\/"},"modified":"2023-02-08T02:23:43","modified_gmt":"2023-02-08T02:23:43","slug":"increasing-php-memory-limit","status":"publish","type":"docs","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/troubleshooting\/increasing-php-memory-limit\/","title":{"rendered":"Increasing PHP Memory Limit"},"content":{"rendered":"\n<p>In some cases, hosts will set a limit on the amount of memory WordPress can use, and this can cause certain issues, like the Customizer not being able to save or even load (just shows a white screen).<\/p>\n\n\n\n<p>There\u2019s a couple different ways to increase your memory limit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Easiest Method<\/h2>\n\n\n\n<p>Just ask your host \u2013 they\u2019ll more than likely be happy to increase your memory limit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Edit wp-config.php<\/h2>\n\n\n\n<p>The WordPress Codex has an article on this&nbsp;<a href=\"http:\/\/codex.wordpress.org\/Editing_wp-config.php#Increasing_memory_allocated_to_PHP\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>Find your <strong>wp-config.php<\/strong> file in the root of your WordPress installation by using FTP.<\/p>\n\n\n\n<p>Then add this to it:<\/p>\n\n\n\n<p><code>define('WP_MEMORY_LIMIT', '256M');<\/code><\/p>\n","protected":false},"featured_media":0,"parent":302,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-306","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":2,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/306\/revisions"}],"predecessor-version":[{"id":1239,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/306\/revisions\/1239"}],"up":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/302"}],"next":[{"title":"Create a Temporary Admin Account for Support","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/troubleshooting\/create-a-temporary-admin-account-for-support\/","href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1241"}],"prev":[{"title":"Minimum System Requirements","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/troubleshooting\/minimum-system-requirements\/","href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/303"}],"wp:attachment":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/doc_tag?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}