|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-03 18:59 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 09:00:01 2025 UTC |
Description: ------------ I would re-open Ticket #42706, but I don't have a login. Issue is the same: With the following configuration I get the error message: "Maximum execution time of 0 seconds exceeded" max_execution_time = 0 max_input_time = 60 "Maximum execution time of 0 seconds exceeded" is an impossibility; what's happening is that it's reporting the wrong configuration variable in the timeout error message. The issue appears to be that the calls to zend_timeout don't distinguish between the two types of timeouts Reproduce code: --------------- Make sure not to run this on the localhost, because the input time will likely be less that 1 second in that case in php.ini: max_input_time = 1 <?php set_time_limit(0); ?> <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" enctype="multipart/form-data"> <input type="file" name="upload_file" id="file" /> <input type="submit" value="submit" /> </form> Expected result: ---------------- Error message: "Maximum input time of 1 seconds exceeded" Actual result: -------------- Error message: "Maximum execution time of 0 seconds exceeded "