Segmentation fault on PHP CLI
| From: | Martin Marques | Date: | Thu, 09 Aug 2007 13:43:06 +0000 |
| Subject: | Segmentation fault on PHP CLI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260510@lists.php.net to get a copy of this message | ||
I have a script which I run from cron. I'm testing it directly from the console:
/usr/bin/php -f /path/to/script.php
The thing is:
Script executes great, and everything it has to do gets done, but it throughs a segmentation fault at the end.
Is there anyway to debug PHP CLI? I'm using php5 from debian etch:
$ php -v
PHP 5.2.0-8+etch7 (cli) (built: Jul 2 2007 21:46:15)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
BTW: all this is on the development server. On the production server the cron runs without this problem.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------