Re: resources limit php -> postgre

From: "Adrian Tineo" <adriantineo(at)softhome(dot)net>
To: "Damien M(dot)" <dm_mailings(at)abelia-decors(dot)com>, pgsql-php(at)postgresql(dot)org
Subject: Re: resources limit php -> postgre
Date: 2003-04-20 09:45:56
Message-ID: 001d01c30721$b1fbf2e0$506bd9d9@supercable.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Damien M. 2003-04-20 19:02:27 Re: resources limit php -> postgre
Previous Message Damien M. 2003-04-20 01:57:52 resources limit php -> postgre