ID:               48949
 User updated by:  giunta dot gaetano at gmail dot com
 Reported By:      giunta dot gaetano at gmail dot com
 Status:           Bogus
 Bug Type:         *General Issues
 Operating System: vista sp2
 PHP Version:      5.3.0
 New Comment:

ps: tested with the vc6 executable instead of the vc9 and it still
stops at 60 secs...


Previous Comments:
------------------------------------------------------------------------

[2009-07-17 12:56:50] giunta dot gaetano at gmail dot com

here's the script to reproduce the test:
<pre>
<?php

echo 'timeout: '.ini_get('max_execution_time')."\n";
for ($i = 0; $i < 100; $i++)
{
  echo $i.'. ';
  sleep(1);
  flush();
  ob_flush();
}
?>
and here follows the output:

timeout: 300
0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19.
20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37.
38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55.
56. 57. 58. 59. 

Fatal error:  Maximum execution time of 60 seconds exceeded in
D:\htdocs\y.php on line 9

------------------------------------------------------------------------

[2009-07-17 12:52:12] giunta dot gaetano at gmail dot com

Thanks for the tip, but I would not have opened the issue without
checking first phpinfo().
As stated in the initial report, even ini_get('max_execution_time')
reports the value of 300

------------------------------------------------------------------------

[2009-07-17 12:41:51] j...@php.net

Your php.ini isn't loaded. Use phpinfo() output to figure out which one
is actually used. No bug here.

------------------------------------------------------------------------

[2009-07-17 07:32:26] giunta dot gaetano at gmail dot com

max_execution_time=300 in php.ini (using apache sapi btw)

------------------------------------------------------------------------

[2009-07-16 22:24:20] paj...@php.net

And what's the value set in php.ini?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/48949

-- 
Edit this bug report at http://bugs.php.net/?id=48949&edit=1

Reply via email to