Your country & currency

Make yourself at home. Choose your preferred shopping currency.

Your selected country opens its KickHost website. Your shopping currency is saved. Visit country website .

Guide

How to Increase PHP’s upload_max_filesize Value Using CloudLinux Selector in cPanel

Increase PHP upload_max_filesize using CloudLinux Select PHP Version in cPanel. Steps for KickHost customers in Kenya.

Share

The upload_max_filesize value controls the largest file you can upload through PHP, for example in WordPress media. Raise it if uploads fail with a size error.

You can modify PHP’s upload_max_filesize as per your needs using CloudLinux’s PHP Selector in cPanel.

1. Log in to your cPanel account.

2. In the Software section, click on Select PHP Version.

Cp cl select php version icon

3. Click on the Options menu.

Cl options menu

Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.

4. Look for upload_max_filesize and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

Cl upload max filesize

Choose a sensible value

Pick a value slightly above the largest file you need to upload. Also check post_max_size so it is not smaller.

If the Options page shows an error

Switch to a non-native PHP version first, then open Options again. Save your change and reload your website to test it.

Frequently asked questions

Will this change affect my whole account? It applies to the PHP version and domain you are editing in Select PHP Version.

How do I know the value is too high? Very high values can use more server resources. Raise it in small steps until your script works.

Related guides

Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.

Found this useful? Share it.

Need a hand with this?

Our team can help you choose the right domain, hosting or server and set it up properly.

Talk to our team See hosting plans