Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 14:33:08 -0700
From:      Mark Foster <mark@foster.cc>
To:        freebsd-ports@freebsd.org
Subject:   Re: PHP segmentation faults
Message-ID:  <4E84E414.9050505@foster.cc>
In-Reply-To: <4E84AAF6.4040902@elasticmind.net>
References:  <4E84AAF6.4040902@elasticmind.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Try using xdebug (another php module) it will produce a stack trace when
it segfaults.

On 09/29/2011 10:29 AM, Moggie wrote:
> Hi,
> 
> Unfortunately, for some time now, PHP scripts have been producing
> segmentation faults when executed on one of our systems :(
> 
> Various posts found via google suggested reinstalling all the PHP ports
> and/or using a script to re-order the PHP extension modules, but all so
> far without success.
> 
> The output of php -m is as follows:
> 
> [PHP Modules]
> apc
> bz2
> Core
> ctype
> date
> dom
> ereg
> filter
> gd
> hash
> iconv
> json
> libxml
> mbstring
> mcrypt
> mhash
> mysql
> mysqli
> mysqlnd
> openssl
> pcre
> PDO
> pdo_mysql
> pdo_sqlite
> posix
> Reflection
> session
> SimpleXML
> snmp
> sockets
> SPL
> sqlite3
> standard
> tokenizer
> xml
> zip
> zlib
> 
> 
> I'm using this simple test to reproduce the problem:
> 
> /tmp/test.php
> <?php
>         Print "Hello, World!";
> ?>
> 
> 
> /usr/local/bin/php /tmp/test.php
> Hello, World!Segmentation fault (core dumped)
> 
> 
> All this makes me sad, especially since my Cacti graphs aren't being
> updated any more :( Any help or advise on how I might go about resolving
> this please would be very much appreciated. Thank you in advance for
> your time and consideration.
> 
> Kind regards,
> moggie
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"


-- 
Mark D. Foster <mark@foster.cc>
http://mark.foster.cc/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E84E414.9050505>