#237 Memory exceeds the limit on big *.sql.gz file upload

3.3.4
closed-wont-fix
Jakub Vrána
Common (150)
5
2012-05-14
2012-04-16
Anonymous
No

I upload ~9MB DB dump, Adminer dies here:

get_file( 'sql_file', TRUE )
file_get_contents ( 'compress.zlib:///tmp/phptLdCFh' )

Uploaded files should be parsed & executed iteratively

Discussion

  • Jakub Vrána
    Jakub Vrána
    2012-05-14

    Uploaded files are read into the memory by some PHP versions anyway. I would suggest copying the file on webserver by FTP and use the "From server" fieldset instead. That one reads the file iteratively.

     
  • Jakub Vrána
    Jakub Vrána
    2012-05-14

    • status: open --> closed-wont-fix