In this Epik article, we’ll learn how to easily increase the max upload file size to allow uploading bigger files to your website, such as themes, plugins or simply larger images. This method also works with all cPanel-based applications such as WordPress, Drupal, Joomla & other PHP based CMS’s.
Since WordPress and other CMS’s come with a default value of 2 MB for the upload max size, many times you’ll be met with an error along the lines of “filename.jpg exceeds the maximum upload size for this site”.
Many tutorials on the web will instruct you to change code directly in either your .htaccess or php.ini files, but there’s a much easier and simpler way to accomplish this through the cPanel and MultiPHP INI Editor, which doesn’t require any code or file editing.
Let’s jump right into it!
1. Access your hosting cPanel through your Domain Dashboard.
2. Locate and click MultiPHP INI Editor.
3. Select your website as the location. This will reveal all the PHP Directives for the particular website.
Change the value of upload_max_filesize to your required size. Default is 2M – 64M or 128M should be enough for most purposes.
4. Click Apply.
And we’re done! Just refresh your website, and you should see that the maximum file size has increased to the defined amount, and that uploading bigger files won’t cause the same error.