How can I increase maximum upload file size?
There is a simple variable in FileGator called max_filesize but this will only work within your server limits. If you need to increase server limits see below…
Maximum file upload size is controlled by your web server and PHP settings inside php.ini file.
Follow these steps to increase maximum upload file size to 200MB:
1. Locate your php.ini file. On windows look into c:\Program Files\php\ or c:\xampp\apache\bin\ or simply search for php.ini. Sometimes there are two or more php.ini files (on some xampp installations) so you must figure out which one is used.
2. Inside php.ini file set parameters to something similar:
upload_max_filesize = 200M ;this is 200 Megabytes post_max_size = 205M ;this must be greater then upload_max_filesize
3. Restart your web server to apply new settings. Don’t forget this!
4. Change FileGator’s configuration.php file around line 46:
'max_filesize' => 209715200, // This is 200 Megabytes
5. Refresh page in your browser and you’re done.
Here is a good link to explain this more deeply.
Note: If you don’t have your own server consult your hosting provider about this.
If you’re stuck with your server’s config you can enable ‘upload in smaller chunks’ feature as described here: http://codecanyon.net/item/filegator/3041013/faqs/16792
- On Microsoft IIS requestFiltering settings can sometimes block large file uploads
- Apache 1.3.x or 2.0.x cannot work above the 2.0GB file limit, as this is something the webserver itself cannot handle due to 32bit register limits. Apache 2.2.x has changed this by using 64bit file registers so you must upgrade to that in order to handle >2GB files. Your LimitRequestBody should also be set to 0 (unlimited) after upgrading as well.
- File size is represented as integer value and the size of php ints is platform dependent, in other words files that are above 2GB can show inaccurate file size on some 32bit systems, windows php installations, 32bit php builds etc.