- post_max_size, which must be larger than upload_max_filesize.
- memory_limit, which should be larger than post_max_size.
- Login to your cPanel account
- Go to the Software section and click on Selecet PHP Version
- Find the upload_max_filesize option and increase its value to the desired value (e.g. 64M)
-
Click on the Apply button to save the changes.
For the new change to be reflected, this value should be at least as big as the post_max_size.
You can also increase the upload max filesize by adding the following code to your .htaccess file: