Re: Segmentation fault on PHP CLI

From: Date: Thu, 09 Aug 2007 13:48:37 +0000
Subject: Re: Segmentation fault on PHP CLI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260512@lists.php.net to get a copy of this message
Martin Marques wrote:
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.
Is PHP on the production server the same old version? I would start by upgrading your development server to the latest version as you may be hitting a known bug that's already been fixed. -Stut -- http://stut.net/

« previous php.general (#260512) next »