php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50533 max_execution_time don't work
Submitted: 2009-12-19 12:48 UTC Modified: 2009-12-21 12:13 UTC
From: sworddragon2 at aol dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.3.1 OS: Windows XP Professional SP3
Private report: No CVE-ID: None
 [2009-12-19 12:48 UTC] sworddragon2 at aol dot com
Description:
------------
I have changed max_execution_time in the php.ini to 0 and restarted Apache 2.2.14 but the configuration have been ignored. PHP still uses 10 seconds.

Reproduce code:
---------------
<?php
	while(0===0);
?>

Expected result:
----------------
I expect to see nothing because of the infinite loop and max_execution time of 0 seconds.

Actual result:
--------------
The script stops with the message: Fatal error: Maximum execution time of 10 seconds exceeded in E:\Programme\Lokaler Server\Apache Software Foundation\Apache2.2\htdocs\image\test.php on line 2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-21 12:13 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #49868


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 17:01:29 2024 UTC