Re: Exceeding 300 second timeout?

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: Exceeding 300 second timeout?
Дата
Msg-id 5.2.0.9.0.20030416105915.00a0a900@pop6.sympatico.ca
обсуждение исходный текст
Ответ на Exceeding 300 second timeout?  ("Rich Garabedian" <richg@mav-mail.com>)
Список pgsql-php
At 09:57 AM 4/16/03, Rich Garabedian wrote:
>Running into an interesting problem where a time-intensive, php command line
>script times-out occasionally. This particular script can sometimes take
>over and hour to complete and it does a ton of interaction with our
>postgreSQL database. The exact error message is the following:
>
>         Fatal error: Maximum execution time of 300 seconds exceeded in
> dbbind.php
>on line 17
>
>Line 17 of dbbind.php looks like this:
>
>         $t=pg_fieldtype($rs,$col);
>
>I was under the impression that cli php has no timeout, so I'm assuming this
>is something with postgreSQL.


It is a php limit (although docs indicate it is 30, not 300), but can be
changed within your script:
         http://www.php.net/manual/en/function.set-time-limit.php

FYI: If you were running a long php script under apache, there is also an
apache limit.

Frank


В списке pgsql-php по дате отправления:

Предыдущее
От: "Rich Garabedian"
Дата:
Сообщение: Exceeding 300 second timeout?
Следующее
От: "Bernd Hoffmann"
Дата:
Сообщение: session_pgsql-0.6.1