Increasing the maximum file size limit for upload

Is there any way we can increase the maximum file size limit for upload? 2MB is too small…


Hi billngu,

The 2MB size is actually set by your PHP server, rather than Gibbon itself. Start by locating your PHP’s config file, which is called php.ini, and whose location varies by server type.

You can then locate the following two variables, and increase their values:

  • post_max_size
  • upload_max_filesize

The first is the max size for all files uploaded in one go: the second for each individual file. I tend to set them both the same value, the size of which will depend on available storage, expected usage, etc.

Once you’ve reset them, you’ll need to restart your web service (E.g. Apache or nginx).



hmm… ok. Thank you.