Need help? Book our fixed price WordPress Support service.
When uploading an image or other media to the WordPress Media Library, you may receive an error:
File exceeds the maximum upload size for this site.
This is due to a setting on your webserver. If you are not confident changing server settings you can speak to you webhost who may change this setting for you.
If you are comfortable changing settings, there are a couple of options
If your website uses cPanel, there will often be a PHP Version Selector or php.ini editor which will allow you to change the
upload_max_filesize directive. You should change this to a value that will allow you to upload your media. However, this value should be lower or equal to the the
Add a file called php.ini to the root directory of your website and add the following lines, adjusting the values to your own requirements
upload_max_filesize = 16M
post_max_size = 20M