NYCPHP Meetup

NYPHP.org

[nycphp-talk] Timing out in php batch

Maggie Cassidy maggie.cassidy at avaion.com
Wed Jun 15 12:39:46 EDT 2005


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.
> 
> <b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in
> <b>/home/abc/def_html/xxxxxxx/p2/prod/prodscript.php</b> on line
> <b>315</b><br />
_______________________________________________
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
 




More information about the talk mailing list