Re: PHP program running from shell ends silently

From: Date: Mon, 17 Mar 2003 14:35:39 +0000
Subject: Re: PHP program running from shell ends silently
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139963@lists.php.net to get a copy of this message
There is a directive max_execution_time to be set in php.ini. afaik, it limits the duration of php-scripts. Maybe you have to increase. (The sense is something like to prevent "faulty" scripts from overloading the server) The Value is in seconds; default 30 (?). hth Ruben wrote: > > Hi: > > I'm running a 'batch' PHP program from the shell with "#!/usr/bin/php > -q" as the first line. After some processing, it ends silently without > any visible notice or error. It processes information from a PostgreSQL > database and shows its progression (via echoes) until it suddenly stops. > This behaviour occurs when it treats a high volume of information, with > just a few records it works fine. > > I guess it may be a problem of lack of memory but I have tried to look > for any trace in /var/logs and I cannot find any sign of the program. > How can I know what is happening? Where can I look for the error? > > Thanks a lot! -- Arnold Schommer FS EDV Service & Beratung GmbH An der Pönt 48 40885 Ratingen fon: +49 2102 186 400 fax: +49 2102 186 499 mailto:aschommer@fs-edv.de http://www.fs-edv.de

« previous php.general (#139963) next »