This article explains how to increase the maximum upload size for your website using PHP Selector on a cPanel server.
The error message related to this may differ between website technologies (such as WordPress, Joomla, Moodle, Drupal, etc). In most cases, the solution to the problem will be the same.
Note: You will need to login to cPanel account first. This can usually be accessed via https://www.YOURDOMAIN.com/cpanel replacing YOURDOMAIN.com with your website address.
1. Log in to your cPanel account and click the "Select PHP Version" button. It is categorised under the heading 'Software'.
2. On the PHP Selector page, click the 'Options' tab.
3. On the PHP Selector - Options page, modify the 'upload_max_filesize' by clicking the icon downward facing arrow point to display the available options.
4. Select the maximum upload file size appropriate for your requirements (see the area highlighted in red in the screenshot above). Depending on your website/software requirements, you may also need to increase the value of the 'post_max_size' (highlighted in orange in the screenshot above) and/or the value of the 'memory_limit' (highlighted in green in the screenshot above).
5. Any adjustments to these three values (or any values on this page) will take affect immediately. You'll see a message in the top right corner of the page, indicating the modified option has been updated.
6. You may have to clear your browser cache to see this change take effect. You should now be able to upload files as large as the maximum value you selected for the 'upload_max_filesize' option.