0 items
24/7 Support & Sales   1300 210 210
Online Support Web Hosting

Increase the File Upload size in WordPress

One of the most common errors that occurs with WordPress has something to do with the file size you have uploaded. This happens whenever you have exceeded the maximum upload file size prohibited by WordPress. If you encounter this, you can change the setting in the Hosting Manager or in the php.ini file. By changing the setting, you can upload larger files.

How to change the file upload size in the Hosting Manager

For your convenience, we advise you to change the setting using the Hosting Manager since it's more user-friendly than php.ini file.

  1. Click on My Account at the top of this page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password and click Log In.
  4. On the Home page, click Software or the [ v ] arrow symbol . Click Select PHP Version, which is the last button.
  5. On the next page, look for Switch to PHP Options located at the upper right corner, and then click.
  6. Next screen, PHP settings will be displayed. Look for file_uploads. Make sure that it is set to On.
    If not, change setting by clicking Off. A drop-down menu will appear. Select On, and click Apply.
  7. Then scroll down and look for upload_max_filesize. Change the maximum file size as you desired.
  8. Click Save.

How to change file upload size in php.ini file

As mentioned, you can also change the file upload size using php.ini file. To do this, follow the steps below:

  1. Click on My Account at the top of the page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password, and click Log In.
  4. On the Home page, click the word Files or the [ v ] arrow symbol on the right side.
  5. Click the File Manager icon, which is next to the Directory Privacy icon.
  6. On the pop-up screen, select Web Root (public_html/www) and click Go.
  7. Next screen, all of the files and folders in your web space will be displayed in a tree-style directory. Look for the php.ini file in your public_html folder.
  8. Right-click on the said file and click Edit.
  9. Next page, within the file, search for the following text:
  10.     ;;;;;;;;;;;;;;;;
        ; File Uploads ;
        ; ;;;;;;;;;;;;;;
    
        ; Whether to allow HTTP file uploads.
        file_uploads = On
    
        ; Temporary directory for HTTP uploaded files (will use system default if not specified).
        ;upload_tmp_dir =
    
        ; Maximum allowed size for uploaded files.
        upload_max_filesize = 128M (This is where you set your preferred maximum upload size.)
        
    Make sure that the file_uploads section is set to on, and the Maximum allowed size for uploaded files is set to your preferred size.
  11. Click Save Changes.

Changes saved in the php.ini file will affect all the other files that are in the same folder as the php.ini file. However, if you want the changes to affect all directories, you can set the php.ini file to recursive through .htaccess. To do this, click the link below:

Congratulations! You just increased the file upload size in WordPress.

If you want to know how to create a php.ini file, click here.

If you want to know how to access the File Manager, click here.

Was this helpful? Yes No 25% of people found this helpful.