Mailinglisten-Archive |
Hi Alex, Am Mittwoch, 10. Januar 2007 21:40 schrieb Alex: > ich habe gerade in der phpinfo() meines Providers geschaut welche > Werte dort drin stehen für > max_execution_time = 30 und default_socket_timeout = 60. > > Das macht doch eigentlich keinen Sinn, dass die > default_socket_timeout auf 60 steht, da > das Script doch eh nach 30 sec abgebrochen wird? doch. :-) Der Grund steht hier: http://www.php.net/manual/en/ref.info.php#ini.max-execution-time -> "The maximum execution time is not affected by system calls, stream operations etc. Please see the set_time_limit() function for more details." http://www.php.net/manual/en/function.set-time-limit.php -> "Note: The set_time_limit() function and the configuration directive max_execution_time only affect the execution time of the script itself. Any time spent on activity that happens outside the execution of the script such as system calls using system(), stream operations, database queries, etc. is not included when determining the maximum time that the script has been running." Viele Grüße Lutz
php::bar PHP Wiki - Listenarchive