In this Epik article we’ll learn how to easily increase the max upload file size to allow uploading bigger files to your WordPress website, such as themes, plugins or simply larger images. This method also works with other softwares such as Drupal, Joomla & other PHP based CMS’s.
Since WordPress and other CMS’s come with a default value of 2MB 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 in 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!
- Access your hosting cPanel through your Domain Dashboard.
- Locate and click MultiPHP INI Editor.
- 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.
- 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.