---
title: How to Increase the max_execution_time Limit in cPanel
description: "🌐This guide is also available in Arabic[← اقرأ بالعربية](https://kb.tarweig.com/docs/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%b2%d9%8a%d8%a7%d8%af%d8%a9-%d9%88%d9%82%d8%aa-%d8%aa%d9%86%d9%81%d9%8a%d8%b0-%d8%a7%d9%84%d8%b3%d9%83%d8%b1%d8%a8%d8%aa%d8%a7%d8%aa-max_execution_time-%d9%81%d9%8a/) 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…"
url: "https://kb.tarweig.com/en/docs/how-to-increase-the-max_execution_time-limit-in-cpanel/"
updated: "2026-10-11"
category: Hosting Management
---

# How to Increase the max_execution_time Limit in cPanel

🌐This guide is also available in Arabic[← اقرأ بالعربية](https://kb.tarweig.com/docs/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%b2%d9%8a%d8%a7%d8%af%d8%a9-%d9%88%d9%82%d8%aa-%d8%aa%d9%86%d9%81%d9%8a%d8%b0-%d8%a7%d9%84%d8%b3%d9%83%d8%b1%d8%a8%d8%aa%d8%a7%d8%aa-max_execution_time-%d9%81%d9%8a/)

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** limit.

**max_execution_time** is a setting managed through the PHP setting, which sets the maximum time in seconds for a script to parse input data.

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:

### How to Increase the max_execution_time Limit in cPanel

The **PHP Selector** is omitted by default in cPanel and might be missing from your account if you are hosting with a different web host. All Tarweig customers should see the Select PHP Version section in their hosting account’s cPanel.

Watch the video tutorial, or continue following the step-by-step instructions in this tutorial.

**1) **[Log into cPanel](https://kb.tarweig.com/en/docs/how-to-login-cpanel-whm/).

**2)** Look for the *SOFTWARE* section and click on **Select PHP version**

![PHP Version](https://kb.tarweig.com/wp-content/uploads/kb-media/2018/05/Software-Select-PHP-Version-783x298.png)
Software > Select PHP Version

**3)** Click on the **Options** link in the new window.

![](https://kb.tarweig.com/wp-content/uploads/kb-media/2019/07/PHP-Selector-Options-783x246.png)

**4)** Here you can locate the **max_execution_time** and type in the value that you require.

![max_execution_time](https://kb.tarweig.com/wp-content/uploads/kb-media/2019/07/max_execution_time-783x162.png)

Check your script, plugin, or theme’s documentation (or an on-screen error message) to find the correct value.

**Struggling with support and website problems? Tarweig is the hosting solution designed to save you time and money! **🤓**Check out our**[**web hosting**](https://tarweig.com/pricing#60b65e4e63b58)**plans!**

**5)** 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.

That’s all! Now you know how to increase the maximum execution time of a script in cPanel.

If you enjoyed this tutorial, then you’ll love our support! All Tarweig’s hosting plans include 24/7 support from our fantastic support team. Check out our [**web hosting**](https://tarweig.com/pricing#60b65e4e63b58) plans and have your website migrated for free today!
