PHP program running from shell ends silently
| From: | Ruben | Date: | Mon, 17 Mar 2003 11:42:57 +0000 |
| Subject: | PHP program running from shell ends silently | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139928@lists.php.net to get a copy of this message | ||
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!