{"id":2252,"date":"2019-07-12T12:22:17","date_gmt":"2019-07-12T12:22:17","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=2252"},"modified":"2023-01-16T10:27:40","modified_gmt":"2023-01-16T10:27:40","slug":"how-to-increase-the-max_execution_time-limit-in-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/how-to-increase-the-max_execution_time-limit-in-cpanel\/","title":{"rendered":"How to Increase the max_execution_time Limit in cPanel"},"content":{"rendered":"<p>There are specific scenarios when you may be asked to change your PHP configuration. Specifically, you may be directed to edit a file on your server called php.ini and to increase the <strong>max_execution_time<\/strong>\u00a0limit.<\/p>\n<p><strong>max_execution_time<\/strong> is a setting managed through the PHP setting, which sets the maximum time in seconds for a script to parse input data.<\/p>\n<p>While do not allow direct changes to PHP.ini on our servers. However, PHP configuration changes can be made from cPanel by following these steps:<\/p>\n<h3 id=\"how-to-increase-the-max_execution_time-limit-in-cpanel\">How to Increase the max_execution_time Limit in cPanel<\/h3>\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThe <strong>PHP Selector<\/strong> is omitted by default in cPanel and might be missing from your account if you are hosting with a different web host. All ChemiCloud customers should see the Select PHP Version section in their hosting account&#8217;s cPanel.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>Watch the video tutorial, or continue following the step-by-step instructions in this tutorial.<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/W3z-CbxXpiA\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><strong>1)\u00a0<\/strong><a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-login-cpanel-whm\/\" target=\"_blank\" rel=\"noopener noreferrer\">Log into cPanel<\/a>.<\/p>\n<p><strong>2)<\/strong> Look for the <em>SOFTWARE<\/em> section and click on\u00a0<strong>Select PHP version<\/strong><\/p>\n<figure id=\"attachment_7674\" aria-describedby=\"caption-attachment-7674\" style=\"width: 643px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7674\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-783x298.png\" alt=\"PHP Version\" width=\"643\" height=\"245\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-783x298.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-300x114.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-768x292.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-50x19.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-1536x584.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-60x23.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version-100x38.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/Software-Select-PHP-Version.png 1740w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption id=\"caption-attachment-7674\" class=\"wp-caption-text\">Software &gt; Select PHP Version<\/figcaption><\/figure>\n<p><strong>3)<\/strong> Click on the <strong>Options<\/strong> link in the new window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7720\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-783x246.png\" alt=\"\" width=\"643\" height=\"202\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-783x246.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-300x94.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-768x242.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-1536x483.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-2048x644.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-60x19.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/PHP-Selector-Options-100x31.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>4)<\/strong> Here you can locate the <strong>max_execution_time<\/strong>\u00a0and type in the value that you require.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-7723\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-783x162.png\" alt=\"max_execution_time\" width=\"643\" height=\"133\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-783x162.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-300x62.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-768x159.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-50x10.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-1536x318.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-2048x424.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-60x12.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/07\/max_execution_time-100x21.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Check your script, plugin, or theme\u2019s documentation (or an on-screen error message) to find the correct value.<\/p>\n<p class=\"p1\"><b>Struggling with support and website problems? ChemiCloud is the hosting solution designed to save you time and money!\u00a0<\/b><span class=\"s1\">\ud83e\udd13<\/span><b> Check out our <\/b><a href=\"https:\/\/chemicloud.com\/pricing#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\"><span class=\"s2\"><b>web hosting <\/b><\/span><\/a><b>plans!<\/b><\/p>\n<p><strong>5)<\/strong> Once you make any changes, please do a left-hand side click anywhere outside the dropdown or text input box. If the change was successful, you will see a green box with a message confirming that the change has been applied.<\/p>\n<p>That&#8217;s all! Now you know how to increase the maximum execution time of a script in cPanel.<\/p>\n<p>If you enjoyed this tutorial, then you\u2019ll love our support! All ChemiCloud\u2019s hosting plans include 24\/7 support from our fantastic support team. Check out our <a href=\"https:\/\/chemicloud.com\/pricing#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\"><span class=\"s2\"><b>web hosting<\/b><\/span><\/a> plans and have your website migrated for free today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are specific scenarios when you may be asked to change your PHP configuration. Specifically, you may be directed to edit a file on your server called php.ini and to increase the max_execution_time\u00a0limit. max_execution_time is a setting managed through the PHP setting, which sets the maximum time in seconds for&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[173],"ht-kb-tag":[],"class_list":["post-2252","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-php-configuration"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=2252"}],"version-history":[{"count":10,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2252\/revisions"}],"predecessor-version":[{"id":7724,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2252\/revisions\/7724"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=2252"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2252"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}