ID: 20466 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: *Configuration Issues Operating System: Windows XP PHP Version: 4CVS-2002-11-17 New Comment:
Yup, sounds like a bug to me too then. Derick Previous Comments: ------------------------------------------------------------------------ [2002-11-17 14:20:42] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-11-17 13:23:53] [EMAIL PROTECTED] The max_execution_time setting in my php.ini doesn't work. It's always 60 seconds, although I've set it to 90 seconds (what is confirmed by the output of phpinfo() ). Even when I set it to 30 seconds, a script still aborts with the message "Fatal error: Maximum execution time of 60 seconds exceeded in [...]". I'm using Apache 2.0.43 and the latest PHP 4.40 Snapshot (php4-win32-200211171530.zip) and have no modules loaded. The error also occured using a Snapshot from the 4.30 Series (from yesterday). This is an extract of my php.ini: ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 90 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20466&edit=1