How to Increase Max Upload Size?

Assuming that you have SSH login details. Once you’ve logged into your server via SSH, you may proceed with the following steps:

Change the directory to the /etc directory


Use a text editor such as nano to edit the 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


Was this answer helpful? 0 Users Found This Useful (0 Votes)