NYCPHP Meetup

NYPHP.org

[nycphp-talk] Timing out in php batch

Denise Ohakpo luckysugarone at yahoo.com
Fri Jun 17 01:26:10 EDT 2005


Please do not send me any more emails.  Thankyou

Maggie Cassidy <maggie.cassidy at avaion.com> wrote:
Isn't the set_time_limit/setting the max_execution_time irrelevant in batch
mode/command line script?

-Maggie

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Dan Cech
Sent: Tuesday, June 14, 2005 3:57 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Timing out in php batch

Eric,

Try using http://php.net/set_time_limit at the top of the script to 
increase/remove the time limit.

Dan

Eric Gewirtz wrote:
> We are having a time out issue running in php batch mode. It was my
> understanding based on the php manual that the max_execution_time
> parameter in php.ini is overridden by batch and set to unlimited, yet
> our application is getting the following error.
> 
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /home/abc/def_html/xxxxxxx/p2/prod/prodscript.php on line
> 315

_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 6/13/2005


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 6/14/2005


_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050616/ad00b8ca/attachment.html>


More information about the talk mailing list