#20466 [Opn->Csd]: max_execution_time setting in php.ini ignored
| From: | iliaa@php.net | Date: | Sun, 17 Nov 2002 22:53:46 +0000 |
| Subject: | #20466 [Opn->Csd]: max_execution_time setting in php.ini ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25129@lists.php.net to get a copy of this message | ||
ID: 20466
Updated by: iliaa@php.net
Reported By: websteffen@web.de
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
Operating System: Windows XP
PHP Version: 4CVS-2002-11-17
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-11-17 14:21:43] derick@php.net
Yup, sounds like a bug to me too then.
Derick
------------------------------------------------------------------------
[2002-11-17 14:20:42] websteffen@web.de
Thanks, Derick, I've set max_input_time to 90 seconds and now it works.
But I don't understand why it works now, because the script doesn't
take any variables. The *only* thing it does is to convert a lot of
data by SELECTing from a mysql database and then writing the data back
with a few changes.
So my problem is solved, but I don't know why. I think that it is a
bug, because max_input_time shouldn't affect the runtime of a script
that doesn't take any arguments ?!?
------------------------------------------------------------------------
[2002-11-17 14:05:55] derick@php.net
What is your script doing when it times out? If it's waiting for
something to upload, you should change the max_input_time setting,
which you currently have set to 60.
Derick
------------------------------------------------------------------------
[2002-11-17 13:39:38] websteffen@web.de
Yes, I've restarted it a couple of times already and even stopped and
then started it again. phpinfo() indeed shows max_execution_time 90
seconds, but the script aborts after 60 seconds. Other settings in
php.ini (like error_reporting) work, but max_execution_time doesn't...
:-(
------------------------------------------------------------------------
[2002-11-17 13:31:13] nicos@php.net
Okay you mean phpinfo() is updated but it still stops after the default
limit?
Did you restarted your httpd?
I can't reproduce that with the latest CVS...
Thanks for your report.
------------------------------------------------------------------------
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/20466
--
Edit this bug report at http://bugs.php.net/?id=20466&edit=1