Hostwinds Tutorials
Search results for:
Table of Contents
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.
cd /etc
nano php.ini
Upload_max_filesize = 100M
Post_max_size = 100M
service httpd restart
This will allow the changes you made to the php.ini to take effect immediately.
Written by Michael Brower / June 23, 2017