View Full Version : upload problem
wikiwurm
01-10-2007, 09:33 AM
i have configured the php.ini (32mb upload) but I am not able to upload a 9MB file to the wiki, which is in the same network.
7.9 MB is working. so, there is somewhere a limitation. but where?
any idea?
ggpipe
01-10-2007, 07:36 PM
I think need to set the following in php.ini from this:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
; Maximum size of POST data that PHP will accept.
post_max_size = 8M
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
to this:
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)
; Maximum size of POST data that PHP will accept.
post_max_size = 32M
; Maximum allowed size for uploaded files.
upload_max_filesize = 32M
wikiwurm
01-11-2007, 07:43 AM
i tought that i checked these settings, but i have overlooked the fault.
it was one of the two things post_max_size or upload_max_filesize.
thx
but the download problem still exist. i am now able to updload 10 MB but not to download this 10 MB.
http://opengarden.org/dekiwiki/configuration/large_downloads_do_not_work
mrepicky
03-19-2007, 03:17 PM
I was sooo stuck in trying to figure out why i couldn't upload files larger than 2M. Woulda helped if in my searching i had come across this thread. I definitely hit one on the PHP memory size restrictions, but never found this one until i solved the problem.
I thought i had a problem with the tmp dir that PHP wanted to use, so i went into the php.ini and when i was in there about to set a hard coded tmp dir, i found the upload_max_filesize variable right below. I kicked myself, laughed, edited, restarted apache.
Just some tag names to help people searching for what is wrong with their install... size filesize tmp max dir upload doesn't work 512.
Would be really useful if someone put this into the install process. I am still trying to find a minute to write up one for Gentoo. For someone who doesn't work with web servers and php too much, this definitely was something i wouldn't have known to fix on my own.
Just a bump for usefulness.
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.