MindTouch Developer Center > Deki > FAQ > File Management > How do I...Increase the maximum attachment size?

How do I...Increase the maximum attachment size?

Table of contents
No headers

Change the following entries in your php.ini file located in /etc/php5/apache2/php.ini and restart apache (debian: /etc/init.d/apache2 restart)

post_max_size = 256M
upload_max_filesize = 256M 

Go into Deki Wiki control panel -> Configuration and set

files/max-file-size

to "268435456" (for 256MB)

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

Tag page
Viewing 3 of 3 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
Viewing 3 of 3 comments: view all
You must login to post a comment.
Powered by MindTouch Deki v.8.08.1a