Increasing file size limit?

For two days I have been trying to increase the max file size limit for uploading. I have increased the limits in php.ini for post_max_size and upload_max_filesize, yet it still hasn’t increased.

I am running Omeka 2.4.1 on an Ubuntu 16.04 with PHP 7.0.8

1 Like

Hi pshowell,

You ALSO have to modify omeka’s “config.ini” file.
Omeka will allow for the least of php.ini and config.ini maximum files size.
The config.ini file should be found in “application/config” of your omeka’s installation.
For instance : /var/www/omeka/application/config/config.ini
upload.maxFileSize in config.ini is commented by default, so uncomment it, and put you desired max file size limit.

upload.maxFileSize = “10M”

(Also remember to restart your apache server )

I hope this helps.

This didn’t seem to work for me either.

Thanks for the suggestion

Ok, so apparently there was another php.ini file I was unaware of. Naturally, that is the one Omeka is using. I updated that php.ini file and now it works. Thanks!