{"id":1726,"date":"2026-10-14T08:00:49","date_gmt":"2026-10-14T08:00:49","guid":{"rendered":"https:\/\/shujaahost.co.ke\/blog\/?p=1726"},"modified":"2026-10-14T09:23:40","modified_gmt":"2026-10-14T09:23:40","slug":"how-to-update-php-memory-limit-in-directadmin","status":"publish","type":"post","link":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/","title":{"rendered":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN"},"content":{"rendered":"\n<p>Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.<br>Updating the PHP memory limit provides enhanced stability and ensures that resource-intensive scripts, complex themes, and plugins (like Woo commerce) can execute without failing. By raising this safety cutoff ceiling, you prevent common, disruptive &#8220;Fatal error: Allowed memory size exhausted&#8221; messages and the &#8220;White Screen of Death&#8221; that occur when a single process overshoots its per-allocated RAM budget. <\/p>\n\n\n\n<p><strong>STEPS ON HOW TO UPDATE THE PHP MEMORY LIMIT<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>   Login in to your control panel using your username and password.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Find Account manager and click on PHP settings.<\/li>\n\n\n\n<li>Look for the Add override section.<\/li>\n\n\n\n<li>Go to setting menu and select memory-limit.<\/li>\n\n\n\n<li>In the Value field, type your desired memory(e.g,256M or 512M).<\/li>\n\n\n\n<li>Click add then save.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.Updating the PHP memory limit provides enhanced stability and ensures that resource-intensive scripts, complex themes, and plugins (like Woo commerce) can execute without failing. By raising this safety cutoff ceiling, you ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1726","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host<\/title>\n<meta name=\"description\" content=\"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host\" \/>\n<meta property=\"og:description\" content=\"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Shujaa Host\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/shujaahostKenya\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-14T08:00:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-14T09:23:40+00:00\" \/>\n<meta name=\"author\" content=\"Mike\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shujaahost_ke\" \/>\n<meta name=\"twitter:site\" content=\"@shujaahost_ke\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\"},\"author\":{\"name\":\"Mike\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/663b69c8fe6b606af1e68eee6f46249f\"},\"headline\":\"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN\",\"datePublished\":\"2026-10-14T08:00:49+00:00\",\"dateModified\":\"2026-10-14T09:23:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\"},\"wordCount\":149,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\"},\"articleSection\":[\"Web Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\",\"name\":\"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host\",\"isPartOf\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#website\"},\"datePublished\":\"2026-10-14T08:00:49+00:00\",\"dateModified\":\"2026-10-14T09:23:40+00:00\",\"description\":\"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.\",\"breadcrumb\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/shujaahost.co.ke\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#website\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/\",\"name\":\"Shujaa Host\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shujaahost.co.ke\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\",\"name\":\"Shujaa Host\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png\",\"contentUrl\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png\",\"width\":911,\"height\":770,\"caption\":\"Shujaa Host\"},\"image\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/shujaahostKenya\/\",\"https:\/\/x.com\/shujaahost_ke\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/663b69c8fe6b606af1e68eee6f46249f\",\"name\":\"Mike\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/179418316e42215939b8f01eb824243c?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/179418316e42215939b8f01eb824243c?s=96&r=g\",\"caption\":\"Mike\"},\"url\":\"https:\/\/shujaahost.co.ke\/blog\/author\/mike\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host","description":"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host","og_description":"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.","og_url":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/","og_site_name":"Shujaa Host","article_publisher":"https:\/\/www.facebook.com\/shujaahostKenya\/","article_published_time":"2026-10-14T08:00:49+00:00","article_modified_time":"2026-10-14T09:23:40+00:00","author":"Mike","twitter_card":"summary_large_image","twitter_creator":"@shujaahost_ke","twitter_site":"@shujaahost_ke","twitter_misc":{"Written by":"Mike","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#article","isPartOf":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/"},"author":{"name":"Mike","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/663b69c8fe6b606af1e68eee6f46249f"},"headline":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN","datePublished":"2026-10-14T08:00:49+00:00","dateModified":"2026-10-14T09:23:40+00:00","mainEntityOfPage":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/"},"wordCount":149,"commentCount":0,"publisher":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#organization"},"articleSection":["Web Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/","url":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/","name":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN - Shujaa Host","isPartOf":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#website"},"datePublished":"2026-10-14T08:00:49+00:00","dateModified":"2026-10-14T09:23:40+00:00","description":"Updating the PHP memory limit means increasing the maximum amount of RAM that a single PHP script is allowed to consume on your web server.","breadcrumb":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-update-php-memory-limit-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shujaahost.co.ke\/blog\/"},{"@type":"ListItem","position":2,"name":"HOW TO UPDATE PHP MEMORY LIMIT IN DIRECTADMIN"}]},{"@type":"WebSite","@id":"https:\/\/shujaahost.co.ke\/blog\/#website","url":"https:\/\/shujaahost.co.ke\/blog\/","name":"Shujaa Host","description":"","publisher":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shujaahost.co.ke\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/shujaahost.co.ke\/blog\/#organization","name":"Shujaa Host","url":"https:\/\/shujaahost.co.ke\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png","contentUrl":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png","width":911,"height":770,"caption":"Shujaa Host"},"image":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/shujaahostKenya\/","https:\/\/x.com\/shujaahost_ke"]},{"@type":"Person","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/663b69c8fe6b606af1e68eee6f46249f","name":"Mike","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/179418316e42215939b8f01eb824243c?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/179418316e42215939b8f01eb824243c?s=96&r=g","caption":"Mike"},"url":"https:\/\/shujaahost.co.ke\/blog\/author\/mike\/"}]}},"_links":{"self":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/1726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/comments?post=1726"}],"version-history":[{"count":4,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/1726\/revisions"}],"predecessor-version":[{"id":1732,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/1726\/revisions\/1732"}],"wp:attachment":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/media?parent=1726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/categories?post=1726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/tags?post=1726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}