Menu

#5 upload script timeout occurs / php-setting

pending
nobody
None
5
2011-08-12
2011-07-28
Thomas
No

when uploading a big file from a small bandwidth location, the script ull.php causes a script timeout.
In the ul.php there should be an additional line:
set_time_limit (0)

plus: in the config documentation a hint regarding the php.ini settings and the safe mode should be added.

Discussion

  • Cyril Bellot

    Cyril Bellot - 2011-08-12
    • status: open --> pending
     
  • Cyril Bellot

    Cyril Bellot - 2011-08-12

    I think this might be better as a php.ini rather than in code :
    it may be denied in some hosting cases.
    Another way to do it could be to add a option "enable_no_limit" in config and if enabled, try the set_time_limit (0).

     
  • Cyril Bellot

    Cyril Bellot - 2011-08-12

    set_time_limit or max_execution_time do not help in my tests (safe_mode=off)

     

Log in to post a comment.