+ Reply to Thread
Results 1 to 4 of 4

Thread: upload problem

  1. #1
    Join Date
    Nov 2006
    Posts
    178

    Default upload problem

    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?
    great wiki ;-)

  2. #2

    Default Try this

    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

  3. #3
    Join Date
    Nov 2006
    Posts
    178

    Default i tought that i checked

    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/confi...ds_do_not_work
    great wiki ;-)

  4. #4

    Default Very useful

    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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts