How to Increase Max Upload Size in ZPanel

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.

 

Change the directory to the /etc directory

cd /etc

 

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

 

nano php.ini

 

Locate and change the following parameters to 100M

 

Upload_max_filesize = 100M
 
Post_max_size = 100M

 

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

Once these values have been saved restart the apache web service using the following command

 

service httpd restart

 

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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Access PHPMyAdmin In ZPanel

Here’s how you can access PHPMyAdmin in ZPanel:   Step 1:  Login and go to the Admin page found...

How to Access Webalizer Stats in ZPanel

How Do I View Webalizer Stats in ZPanel? Follow these instructions to access Webalizer Stats...

How to Access Webmail in ZPanel

How Do I Access WebMail in ZPanel? Follow these instructions to access Webmail through ZPanel:...

How to Add a Domain in ZPanel

How Do I Add a Domain in ZPanel? Follow these instructions to add a domain in ZPanel....

How to Add a Parked Domain

How Do I Add a Parked Domain in ZPanel? Follow these instructions to add a parked domain in...