Setting up the maximum size of the uploaded file

To change the maximum size of file:

Replace the following string in the php.ini file in the root directory of your server:

upload_max_filesize = 2M

(2M means 2Mb)

with this one:

upload_max_filesize = 30M

If there is no such file you can create it. If it is not supported there, you should contact your hosting provider to set the maximum size available for the files uploaded to the server.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.