{"id":50487,"date":"2026-11-20T05:24:10","date_gmt":"2026-11-20T05:24:10","guid":{"rendered":"https:\/\/kickhost.com\/guides\/how-to-increase-or-decrease-php-memory-limit-via-cloudlinux-selector-in-cpanel\/"},"modified":"2026-11-28T09:09:32","modified_gmt":"2026-11-28T09:09:32","slug":"how-to-increase-or-decrease-php-memory-limit-via-cloudlinux-selector-in-cpanel","status":"publish","type":"kickhost_tutorial","link":"https:\/\/kickhost.com\/en-uk\/guides\/how-to-increase-or-decrease-php-memory-limit-via-cloudlinux-selector-in-cpanel\/","title":{"rendered":"How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in cPanel"},"content":{"rendered":"<p>The memory limit is how much memory one PHP script can use. Raise it if you see an allowed memory size exhausted error.<\/p>\n<p>You can modify <strong>PHP Memory Limit<\/strong> as per your needs using CloudLinux PHP Selector in cPanel.<\/p>\n<p><strong>1<\/strong>. Log in to your cPanel account.<\/p>\n<p><strong>2<\/strong>. In the <strong>Software<\/strong> section, click on <strong>Select PHP Version<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cp-cl-select-php-version-icon.gif\" loading=\"lazy\" alt=\"Cp cl select php version - How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in cPanel\"><\/p>\n<p><strong>3<\/strong>. Click on the <strong>Options<\/strong> menu.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cl-options-menu.gif\" loading=\"lazy\" alt=\"Cl options menu - How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in cPanel\"><\/p>\n<p><strong>Note<\/strong>: If the <strong>Options<\/strong> page shows an error related to the native PHP version, change it to a non-native version first.<\/p>\n<p><strong>4<\/strong>. Look for <strong>memory_limit<\/strong> and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kickhost.com\/img\/cl-increase-decrease-php-memory-limit.gif\" loading=\"lazy\" alt=\"Cl increase decrease php memory limit - How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in cPanel\"><\/p>\n<h2>Choose a sensible value<\/h2>\n<p>Increase it step by step, such as 256M, until the error stops. Very high values rarely fix a slow plugin and may hide the real problem.<\/p>\n<h2>If the Options page shows an error<\/h2>\n<p>Switch to a non-native PHP version first, then open Options again. Save your change and reload your website to test it.<\/p>\n<h2>Frequently asked questions<\/h2>\n<p><strong>Will this change affect my whole account?<\/strong> It applies to the PHP version and domain you are editing in Select PHP Version.<\/p>\n<p><strong>How do I know the value is too high?<\/strong> Very high values can use more server resources. Raise it in small steps until your script works.<\/p>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/kickhost.com\/en-uk\/guides\/how-to-increase-phps-post_max_size-value-using-cloudlinuxs-selector-in-cpanel\/\">Increase post_max_size<\/a><\/li>\n<li><a href=\"https:\/\/kickhost.com\/en-uk\/guides\/how-to-increase-phps-upload_max_filesize-value-using-cloudlinux-selector-in-cpanel\/\">Increase upload_max_filesize<\/a><\/li>\n<\/ul>\n<p>Need cPanel hosting? <a href=\"https:\/\/kickhost.com\/en-uk\/web-hosting\/\">See KickHost hosting plans<\/a> or <a href=\"https:\/\/kickhost.com\/en-uk\/contact\/\">contact our team<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Increase or decrease PHP memory limit using CloudLinux Select PHP Version in cPanel. Steps for KickHost customers.<\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-50487","kickhost_tutorial","type-kickhost_tutorial","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/kickhost_tutorial\/50487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/kickhost_tutorial"}],"about":[{"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/types\/kickhost_tutorial"}],"version-history":[{"count":3,"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/kickhost_tutorial\/50487\/revisions"}],"predecessor-version":[{"id":53388,"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/kickhost_tutorial\/50487\/revisions\/53388"}],"wp:attachment":[{"href":"https:\/\/kickhost.com\/en-uk\/wp-json\/wp\/v2\/media?parent=50487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}