From owner-freebsd-questions@FreeBSD.ORG Tue Jan 15 18:33:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3926216A418 for ; Tue, 15 Jan 2008 18:33:35 +0000 (UTC) (envelope-from dzalewski@open-craft.com) Received: from srv.open-craft.com (srv.open-craft.com [205.209.147.114]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2B913C457 for ; Tue, 15 Jan 2008 18:33:35 +0000 (UTC) (envelope-from dzalewski@open-craft.com) Received: from [196.218.200.202] (helo=[10.0.0.11]) by srv.open-craft.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JEqbO-00011O-Bq for freebsd-questions@freebsd.org; Tue, 15 Jan 2008 13:33:35 -0500 From: Dominik Zalewski To: freebsd-questions@freebsd.org In-Reply-To: <1200397035.5681.22.camel@polonium.opencraft.local> References: <1200397035.5681.22.camel@polonium.opencraft.local> Content-Type: text/plain Organization: OpenCraft Date: Tue, 15 Jan 2008 20:33:32 +0200 Message-Id: <1200422012.5681.61.camel@polonium.opencraft.local> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv.open-craft.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - open-craft.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: FreeBSD 6.1 php5 cli core dumped X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dzalewski@open-craft.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 18:33:35 -0000 I disabled php_mapscript.so extension and PHP CLI doesn't seem to core dump anymore. Problem is that I really need mapscript. I tried to recompile mapserver but it didn't help. Any ideas? On Tue, 2008-01-15 at 13:37 +0200, Dominik Zalewski wrote: > Dear All, > > I'm using FreeBSD 6.1 i386 and I'm having problem with php5-cli . > > When I try to run php myscript.php I'm getting: Segmentation fault: 11 > (core dumped) > > Script runs fine under a web browser. The problem is only when running > php from command line. > > Some people suggested that I should change module order in > extensions.ini . I played a bit but it didn't help. > > Here is my extensions.ini : > > extension=session.so > extension=json.so > extension=php_mapscript.so > extension=ctype.so > extension=ldap.so > extension=curl.so > extension=ftp.so > extension=gd.so > extension=iconv.so > extension=mbstring.so > extension=mysql.so > extension=pcre.so > extension=simplexml.so > extension=tokenizer.so > extension=xml.so > extension=zlib.so > > Installed php5 ports: > > php5-5.2.5 PHP Scripting Language > php5-ctype-5.2.5 The ctype shared extension for php > php5-curl-5.2.5 The curl shared extension for php > php5-ftp-5.2.5 The ftp shared extension for php > php5-gd-5.2.5 The gd shared extension for php > php5-iconv-5.2.5 The iconv shared extension for php > php5-ldap-5.2.5 The ldap shared extension for php > php5-mbstring-5.2.5 The mbstring shared extension for php > php5-mysql-5.2.5 The mysql shared extension for php > php5-pcre-5.2.5 The pcre shared extension for php > php5-session-5.2.5 The session shared extension for php > php5-simplexml-5.2.5 The simplexml shared extension for php > php5-tokenizer-5.2.5 The tokenizer shared extension for php > php5-xml-5.2.5 The xml shared extension for php > php5-zlib-5.2.5 The zlib shared extension for php > > Regards, > > Dominik > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"