How to Fix Upload Max Filesize Error | BoldGrid Backup

How to Fix the Exceeds Upload_Max_Filesize Error when Installing BoldGrid Backup

The BoldGrid WordPress Backup plugin comes in two varieties – free (the default) and a premium add-on that can be loaded once you purchase a subscription for BoldGrid. There may be the occasion when your PHP.INI file is not set correctly or even non-existent in the installation files for your BoldGrid/WordPress installation. This will affect the installation of the Premium version of the BoldGrid Backup plugin. This is the error that you may see:

Fix Upload Max Filesize Error in php.ini

This can be easily fixed by editing or adding a PHP.INI file into the root of your WordPress installation. Accessing the files may differ depending on your hosting service.

The steps listed below include accessing the file through a cPanel based hosting solution.

How to Access the PHP.INI file Using the cPanel File Manager

  1. Log in to cPanel
  2. Access the File Manager
  3. In the Settings for File Manager, click on Show Hidden Files, then save your change.
  4. In the File Manager, go to the location where you have installed your WordPress site. If you are using a folder for your site, you will need to locate it. Some hosts use the PUBLIC_HTML folder as their default folder for all published website files.
  5. Find the PHP.INI file and then either right-click to pull up the edit option, or go to the top of the File Manager and edit the file. However you access the file, keep in mind that it is a simple text file, so you should be able to edit it with the text editor of your choice.
  6. When you have the file opened in the editor, look for this line:
    upload_max_filesize = 2M

     

    The “M” is for megabytes. Change the numerical value to something larger like 64M or 128M. This will allow you to upload much larger files using WordPress (or any PHP-based application). The error message displayed above is based on a upload max file size of 2M. Since the BoldGrid Backup Premium plugin is larger than 2M, then the error would occur.

  7. Once you have changed the value, make sure to save the file. You can then re-load the site and the error should be resolved.

The updated cPanel interface may also include a direct editor for the PHP.INI file. If you have that option, simply go into the Editor, select the location (if you have more than 1), and then make the change directly to the “upload_max_filesize” value. Save your or apply your changes. If you are unable to find a PHP.INI file, you may need to set your PHP version with the PHP version editor in your cPanel and then a PHP.INI file would be applied. In some cases, a PHP.INI file may need to be created. If you continue to be unable to locate the file, then contact your hosting technical support team as they may have a default file they can immediately add. It’s best to contact technical support for your hosting service as the settings for PHP.INI may differ depending on your hosting plan.

 

Get more for free by signing up with BoldGrid Central Create Account