#50533 [NEW]: max_execution_time don't work
From: sworddragon2 at aol dot com
Operating system: Windows XP Professional SP3
PHP version: 5.3.1
PHP Bug Type: PHP options/info functions
Bug description: max_execution_time don't work
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
--
Edit bug report at http://bugs.php.net/?id=50533&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50533&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50533&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50533&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50533&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50533&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50533&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50533&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50533&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50533&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50533&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50533&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50533&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50533&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50533&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50533&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50533&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50533&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50533&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50533&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50533&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50533&r=mysqlcfg
Thread (2 messages)
- sworddragon2 at aol dot com