Bigger files, more extensions?
Permalink
We need to upload files with different extensions. i.e. zip, bmp, and many more.
But file manager seems to only recognize mainstream file extension names.
Any solutions?
Also need to upload files bigger than 2M
Thanks, Joanna
But file manager seems to only recognize mainstream file extension names.
Any solutions?
Also need to upload files bigger than 2M
Thanks, Joanna
The 2MB limitation is a server limitation, not a Concrete5 limitation.
You need to set the value of upload_max_filesize and post_max_size in your php.ini :
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
After modifying php.ini file(s), you need to restart your HTTP server to use new configuration.
If you can't change your php.ini, you're out of luck. You cannot change these values at run-time; uploads of file larger than the value specified in php.ini will have failed by the time execution reaches your call to ini_set.