| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2002-06-05 07:09 UTC] luimarma at iti dot upv dot es
 Upload fails regardless the value of memory_limit value. I am using the following values for post file uploading: memory_limit = 10M post_max_size = 10M file_uploads = On upload_max_filesize = 10M allow_url_fopen = On Uploading anything bigger than a pair of megs fails I have also tried with php-4.1.2-7 but then I could only upload till memory_limit value, and the upload tmp dir is only used when the whole file is in memory, so I can only upload files up to the amount of memory y have in the system. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 05:00:01 2025 UTC | 
Well, I have been doing more tests and it seems that the system memory that is being used is for the catching of the filesystem. I dont know if it is a good thing that so many memory is eaten just for file catching but this is an operating system issue and not php related bug so If everyone agrees I close the bug. Regarding last message from Dreoth@houston.rr.com, did you double check the values for the php.ini file, related with post and file uploading? Remenber that post limit should be at least filesize+size of php script. memory_limit = ?? post_max_size = ?? file_uploads = On upload_max_filesize = ?? allow_url_fopen = On