Search The Hostwinds Guides Knowledge Base

How to Increase Max Upload Size in ZPanel

Share This Article

Increasing Max Upload Size in ZPanel

ZPanel servers by default only allow up to 2MB files to be uploaded. When importing a database you’ll likely have a database larger than this.

In this case, you’ll need to SSH into your server using an SSH client such as PuTTy. Once you’ve accessed your server via SSH, you may proceed with the following steps.


  1. Change the directory to the /etc directory



  1. Use a text editor such as nano to edit php.ini file



  1. Locate and change the following parameters to 100M



  1. You can find both parameters quickly by using CTRL + W in nano then entering in the name of each parameter that you’re looking for
  2. Once these values have been saved restart the apache web service using the following command



This will allow the changes you made to the php.ini to take effect immediately.