WordPress Issue – How to Fix File exceeds the upload_max_filesize – Windows ASP.NET Core Hosting 2020 | Review and Comparison
 

In the Customizr or Customizr Pro WordPress themes, we have a feature that allows you to see your system’s informations. This will be helpful in troubleshooting errors.

For Customizr Pro Theme, you can find it in WordPress admin -> Appearance -> About Customizr Pro

For Customizr Theme, you can find it in WordPress admin -> Appearance ->About Customizr

Scroll down the page and you will see the section – System Informations.

How to Fix File exceeds the upload_max_filesize

You may have encountered the following error message when you are installing your Customizr Pro Theme.

 The uploaded file exceeds the upload_max_filesize directive in php.ini

Please see the following screenshot.

image_1

Or the following error when you are uploading an image.

 ..exceeds the maximum upload size for this site.

Please see the following screenshot.

image_2

This happens when your PHP Upload Max Filesize (upload_max_filesize) set in your php.ini file is smaller than the file size of Customizr Pro Theme or the file size of the image that you are trying to upload.

At the time of writing, the file size of Customizr Pro Theme (zip file) is 5M.

Look into your System Informations for the value of PHP Upload Max Filesize, you will need to increase it to a higher and healthier value.

Solutions

The following are some solutions available to fix your exceeded upload max filesize issue in WordPress. If your hosting provider can’t fix your issue, you can find other hosting provider that support wordpress on our blog.

Contact your Hosting Company

Yes, this is the most prefer way. Contact your hosting company and show them a screenshot of your error or write to them the error message. Ask them to assist in increasing the following values, until you are able to install your Customizr Theme or upload your image. Your hosting company may have restrictions on these values.

upload_max_filesize
post_max_size
max_execution_time
max_input_time

Preferably to the following values.

upload_max_filesize 64M
post_max_size 64M
max_execution_time 300
max_input_time 300

Editing php.ini File

The  php.ini file is the default PHP configuration file. Most of the Shared Hosting Company does not allow access to this file. If you are certain that you have access to php.ini file on your server, you may proceed with the following steps.

  1. Access it using your FTP program.
  2. Backup a copy of this file before attempting to edit it.
  3. Open it and find the following values, one at a time (They are located at different lines within the file)
    upload_max_filesize
    post_max_size
    max_execution_time
    max_input_time

    Preferably, edit them to the following values.

upload_max_filesize 64M
post_max_size 64M
max_execution_time 300
max_input_time 300
[crp]