Doc #66747 [NEW]: Contraddictory information about max_input_time

From: Date: Thu, 20 Feb 2014 14:05:02 +0000
Subject: Doc #66747 [NEW]: Contraddictory information about max_input_time
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10997@lists.php.net to get a copy of this message
From: matteosistisette at gmail dot com Operating system: all PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Contraddictory information about max_input_time Description: ------------ --- From manual page: http://www.php.net/info.configuration --- """ This sets the maximum time in seconds a script is allowed to parse input data, like POST and GET. It is measured FROM THE MOMENT OF RECEIVING ALL DATA on the server to the start of script execution. """ --- However, from manual page: http://php.net/manual/en/features.file-upload.common-pitfalls.php --- """ Warning max_input_time sets the maximum time, in seconds, the script is allowed to RECEIVE input; this INCLUDES FILE UPLOADS. For large or multiple files, or users on SLOWER CONNECTIONS, the default of 60 seconds may be exceeded. """ (emphasys added) Both statements are pretty clear and hardly unambiguous. Unfortunately each one implies the other is wrong. According to the first, the time it takes to upload the file clearly does NOT count as input time. According to the second, it clearly does. I don't know which one is true but definitely it can't be both, so please fix the one that is wrong, so people won't need to do benchmarking to figure out: http://stackoverflow.com/questions/3758377/php-configuration-max-execution-time-and-max-input-time/3758522#3758522 Test script: --------------- . Expected result: ---------------- - Actual result: -------------- . -- Edit bug report at https://bugs.php.net/bug.php?id=66747&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66747&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66747&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66747&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66747&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66747&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66747&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66747&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66747&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66747&r=support Expected behavior: https://bugs.php.net/fix.php?id=66747&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66747&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66747&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66747&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66747&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66747&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66747&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66747&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66747&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66747&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66747&r=mysqlcfg

« previous php.doc.bugs (#10997) next »