{"id":444,"date":"2024-06-14T18:42:12","date_gmt":"2024-06-14T18:42:12","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=444"},"modified":"2024-06-15T11:51:58","modified_gmt":"2024-06-15T11:51:58","slug":"how-to-increase-wordpress-memory-limit","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-increase-wordpress-memory-limit.html","title":{"rendered":"How to Increase WordPress Memory Limit"},"content":{"rendered":"<p>Follow these steps to increase WordPress memory limit:<\/p>\n<ul>\n<li>Log into your cPanel from within your Zalvis client account<\/li>\n<li>Locate and click the <strong>File manager<\/strong> menu in the <strong>Files <\/strong>section<\/li>\n<li>Click <strong>Public_html <\/strong><\/li>\n<li>Search and select <strong>wp-config.php<\/strong> file and right- click Edit<\/li>\n<li>Add the following code right before the \/<em>That&#8217;s all, stop editing! Happy blogging. <\/em>\/&#8217; line:<\/li>\n<\/ul>\n<blockquote><p>define( &#8216;WP_MEMORY_LIMIT&#8217;, &#8216;512M&#8217; );<\/p><\/blockquote>\n<p>You can enter any value where 512M was stated. 512M is the memory limit you want to set:<\/p>\n<p>You can also change the WP_MEMORY_LIMIT via the wp-includes folder and edit the default-constants.php file.<\/p>\n<p>To confirm whether your changes have got into effect, create a PHP info.php file. To create an info.php file, follow the steps in this <a href=\"https:\/\/zalvis.com\/docs\/how-to-create-a-phpinfo.html\">guide<\/a>.<\/p>\n<div class=\"xyqtr69d3d212c94a4\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.xyqtr69d3d212c94a4 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.xyqtr69d3d212c94a4 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.xyqtr69d3d212c94a4 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.xyqtr69d3d212c94a4 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.xyqtr69d3d212c94a4 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>Follow these steps to increase WordPress memory limit: Log into your cPanel from within your Zalvis client account Locate and click the File manager menu in the Files section Click Public_html Search and select wp-config.php file and right- click Edit Add the following code right before the \/That&#8217;s all, stop editing! Happy blogging. \/&#8217; line: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=444"}],"version-history":[{"count":4,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/444\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}