From: Adrian Tineo <adriantineo@softhome.net>
To: Damien M. <dm_mailings@abelia-decors.com>
To: pgsql-php@postgresql.org
Subject: Re: resources limit php -> postgre
Date: Sun, 20 Apr 2003 11:45:56 +0200
Message-ID: <001d01c30721$b1fbf2e0$506bd9d9@supercable.es> (raw)
References: <20030420015752.13202.qmail@abelia-decors.com>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: adriantineo@softhome.net, dm_mailings@abelia-decors.com
Subject: Re: resources limit php -> postgre
In-Reply-To: <001d01c30721$b1fbf2e0$506bd9d9@supercable.es>
References: <20030420015752.13202.qmail@abelia-decors.com> <001d01c30721$b1fbf2e0$506bd9d9@supercable.es>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox