Re: resources limit php -> postgre

Поиск
Список
Период
Сортировка
От Adrian Tineo
Тема Re: resources limit php -> postgre
Дата
Msg-id 001d01c30721$b1fbf2e0$506bd9d9@supercable.es
обсуждение исходный текст
Ответ на resources limit php -> postgre  ("Damien M." <dm_mailings@abelia-decors.com>)
Список pgsql-php
> Is there a way to define a 'per script' limit on php/PG, or anything
> else in order to avoid these problems ?

You can set a maximum time for execution. This is set for every script in
php.ini with max_execution_time (default is 30 seconds). You can re-define
your ini value though using ini_set("max_execution_time",$max_time) in every
script that has special needs. You can check
http://www.php.net/manual/en/function.ini-set.php for more info on ini_set
and setting values.

Adrian Tineo


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

Предыдущее
От: "Damien M."
Дата:
Сообщение: resources limit php -> postgre
Следующее
От: "Damien M."
Дата:
Сообщение: Re: resources limit php -> postgre