Table of contents
No headers

Change the following entries in your php.ini file located in

Debian: /etc/php5/apache2/php.ini and

Windows: C:\Program Files\MindTouch\MindTouch Deki\redist\php

post_max_size = 256M
upload_max_filesize = 256M 

Once you have made the changes to the PHP.ini file, restart your web server:

Apache on Debian: /etc/init.d/apache2 restart

IIS on Windows: restart through the IIS Manager

 

Go into Deki Wiki control panel -> Configuration and set

files/max-file-size

to "268435456" (for 256MB)

Note: The configuration screen is introduced in MindTouch 1.8.2 (Hayes+). For previous versions, you'll need to make a direct database update into the config table and restart the application.

 

Windows Server 2008 - IIS7

If you're running MindTouch on Windows Server 2008 (IIS7), There is a default limit set to 30Mb by IIS 7.

To work around this problem, set in the Web.config file for the Web application to have following settings under the <configuration> section:

  • Use Notepad to open the Web application Web.config file. By default, this file is in the following folder:
    Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder
  • Add the following settings under the <configuration>section of the Web.config file:
    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="
    268435456"/>
            </requestFilterin
    g>

        </security>
    </system.webServer>
Viewing 4 of 4 comments: view all
Under 1.8.3c - after making the above changes, restarting apache2 and dekihost, and then attempting to upload a file greater than the php.ini default of 2M (3.7M), the "Uploading" dialog box displayed the contents of the http://deki-hayes site - instead of the upload windows, or error message. After refreshing the browser at http://deki-hayes, LDAP (AD) logins started failing.

I proceeded to modify memory_limit in the php.ini per the below forum post. I actually specified 256M - then again restarted apache2 and dekihost - and now all is functioning normally. AD logins work, and I'm able to upload my large 3.7M file.

http://forums.opengarden.org/showthread.php?t=104&highlight=maximum+upload
Posted 22:04, 28 Feb 2008
Is the above/following correct?..

"Go into Deki Wiki control panel -> Configuration and set files/max-file-size to "268435456" (for 256MB)".
Presuming the number represents bits it equals 32MB exacly, not 256MB as suggested. No other calibration seems to go near 256MB.

http://www.google.co.uk/search?q=268435456bits+to+MB&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
edited 22:39, 23 Mar 2008
Posted 22:37, 23 Mar 2008
The "268435456" is the equivalent of 256 MB represented in bytes.
http://www.google.com/search?hl=en&q=convert+268435456+bytes+to+MB&btnG=Search
Posted 17:01, 16 Jun 2008
Is there any way to remove the limit entirely?
Posted 19:07, 10 Feb 2010
Viewing 4 of 4 comments: view all
You must login to post a comment.