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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sworddragon2 at aol dot com
New email:
PHP Version: OS:

 

 [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: Mon May 13 00:01:28 2024 UTC