Increasing maximum upload filesize

From KnowledgeTree Document Management Made Simple

Jump to: navigation, search

Steps to perform

The following steps will increase the maximum size of files that can be uploaded. Note that there is an upper limit of 2 gigabytes on browser uploads. This is a browser limitation and means that any uploaded file would need to be truncated at under 2GB.

1. Backup, then open the following file in a text editor:
<KnowledgeTree Directory>\knowledgeTree\htaccess

2. Locate and change the following line to your specified value (we have used 2100M for demonstration purposes):

php_value post_max_size 2100M

This line can be found and needs to be modified under two sections:

<IfModule mod_php5.c>
<IfModule sapi_apache2.c>

3. Save and close the file

4. Backup, then open the following file in a text editor:
<KnowledgeTree Directory>\php\php.ini

5. Locate and change the following lines to your specified value:

; Maximum size of POST data that PHP will accept.
post_max_size = 2100M
; Maximum allowed size for uploaded files.
upload_max_filesize = -1 

6. Save and close the file

Applies to Version/s