HOW TO INCREASE FILE UPLOAD SIZE IN ZPANEL / SENTORA

Increasing Max Upload Size in ZPanel / SENTORA / Linux VPS / CentOs 6

ZPanel / Sentora server control panels by default only allow up to 2MB files to be uploaded. When importing a database you’ll likely have a database larger than this or sometimes you need to upload big size of video file / document file or any other types of big size file then make some changes in your php.ini file and you get things done easly.

Follow these steps:

Login using an SSH client such as PuTTy in your server Once you’ve accessed your server via SSH, you may proceed with the following steps: 

Change the folder to the /etc
type command  cd /etc 

 

Use a text editor to edit php.ini file
type commad  nano php.ini

Find and change the following values to 200M
Upload_max_filesize = 200M
Post_max_size = 200M

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

For exit from nano text editor press Ctrl + X
then press "Y" and then press Enter key to save changes to the file.

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

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

Download This Guide For Future Reference Click Here




 

Hasznosnak találta ezt a választ?

 Kinyomtatja ezt a cikket

Olvassa el is

How to redirect domain with www ?

Step 1:  Create/Edit a file .htaccess in the documbent root (public_html / www folder)of your...

How to redirect old domain to new domain ?

Step 1:  Create/Edit a file .htaccess in the documbent root (public_html / www folder)of your old...

How to force all web traffic to use HTTPS ?

// // SSL Certificate Properly Installed & Working Require, To Use It.If you've no SSL...

How to start own Internet radio station?

Internet Radio HostingStart your very own radio station online - [VIEW PLANS] Effectively make...

How to change MySQL mode / Remove ONLY_FULL_GROUP_BY?

How to change MySQL mode / Remove ONLY_FULL_GROUP_BY?Method 1:Remove ONLY_FULL_GROUP_BY from...