---
title: How to Increase the upload_max_filesize Limit in cPanel
description: "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 **upload_max_filesize** limit. ### What is the upload_max_filesize PHP setting?…"
url: "https://kb.tarweig.com/en/docs/how-to-increase-the-upload_max_filesize-limit-in-cpanel/"
updated: "2026-10-10"
category: Hosting Management
---

# How to Increase the upload_max_filesize Limit in cPanel

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

### What is the upload_max_filesize PHP setting?

**upload_max_filesize** is a setting managed through the PHP Options, which sets the maximum size of each uploaded file.

### How to Increase the upload_max_filesize 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 ChemiCloud customers should see the Select PHP Version section in their hosting account’s cPanel.

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:

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

**1) **[Log into cPanel](https://chemicloud.com/kb/article/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/misc/Software-Select-PHP-Version-783x298.png)
Software > Select PHP Version

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

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

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

**4)** Here you can locate the **upload_max_filesize** and click on the value.

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

A dropdown menu or text input box will appear, allowing you to change the value as required. Check your script, plugin, or theme’s documentation (or an on-screen error message) to find the correct value.

For the new change to be reflected, this value should be at least as big as the **[post_max_size](https://chemicloud.com/kb/article/how-to-increase-the-post_max_size-limit-in-cpanel/). **

**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 upload_max_filesize in cPanel.

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