Re: Recovering from a time out
| From: | Anthony | Date: | Fri, 18 Jul 2003 14:14:24 +0000 |
| Subject: | Re: Recovering from a time out | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155770@lists.php.net to get a copy of this message | ||
change PHP's timeout value in php.ini :
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing
request data
don't know if you can have php do something like load a different script or
a basic HTML page on timeout. That would be pretty cool though, anyone
know?
- Anthony
"Gerard Samuel" <gsam@trini0.org> wrote in message
news:3F17925C.6020501@trini0.org...
> Is it possible to *gracefully* recover from php timing out?
> For example, uploading a large file, and php times out, so display "Oops
> Timed out"
> This also assumes that we have no means of changing php's time out value??
>
> Thanks for your comments..
>