Re: resources limit php -> postgre - Mailing list pgsql-php

From Adrian Tineo
Subject Re: resources limit php -> postgre
Date
Msg-id 001d01c30721$b1fbf2e0$506bd9d9@supercable.es
Whole thread Raw
In response to resources limit php -> postgre  ("Damien M." <dm_mailings@abelia-decors.com>)
List 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 by date:

Previous
From: "Damien M."
Date:
Subject: resources limit php -> postgre
Next
From: "Damien M."
Date:
Subject: Re: resources limit php -> postgre