php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42706 Maximum execution time of 0 seconds exceeded
Submitted: 2007-09-19 07:40 UTC Modified: 2009-12-03 18:59 UTC
From: bogdan at e-technics dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 5.2.4 OS: Opensuse 10.1
Private report: No CVE-ID: None
 [2007-09-19 07:40 UTC] bogdan at e-technics dot com
Description:
------------
Maximum execution time of 0 seconds exceeded 
with the following configuration:

max_execution_time = 0     
max_input_time = 60  

The solution to this was to increase max_input_time to a very large value, but shouldn't max_execution_time override max_input_time?

Expected result:
----------------
Script should have run

Actual result:
--------------
Maximum execution time of 0 seconds exceeded 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-19 13:34 UTC] jani@php.net
I can not reproduce this. Please provide more information, like how you have compiled PHP (the configure line) for example.
 [2007-09-19 14:08 UTC] bogdan at e-technics dot com
The configure line is:

'./configure' '--prefix=/soft/php5' '--with-config-file-path=/soft/php5' '--with-mysql=/var' '--with-apxs2=/soft/apacheo/bin/apxs' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--enable-exif' '--with-png' '--enable-track-vars' '--enable-ftp' '--enable-dbase' '--with-zlib' '--with-bz2' '--with-tiff-dir=/usr/lib' '--with-oci8=instantclient,/usr/lib/oracle/10.2.0.2/client'

The event took place during stressful database operations, using oci8, that are too complex to be reproduced here. The behavior was: it runned for about 20 minutes the the error "Maximum execution time of 0 seconds exceeded" was  given. As I stated above, after I have modified the  max_input_time to a  large value(30000) it worked fine, so I assume there was a database operation that exceeded the 60 seconds timeout. Still in this case the error message should have been that max_input_time was exceeded or max_execution time should override max_input_time as I assumed it does from the documentation.
 [2007-10-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-12-03 18:59 UTC] rasmus@php.net
See bug #49868
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC