From owner-freebsd-questions@FreeBSD.ORG Tue Jan 15 12:00:11 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 58E8916A4BF for ; Tue, 15 Jan 2008 12:00:11 +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 5DA6313C45D for ; Tue, 15 Jan 2008 12:00:11 +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 1JEk6c-0004D1-Nv for freebsd-questions@freebsd.org; Tue, 15 Jan 2008 06:37:24 -0500 From: Dominik Zalewski To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: OpenCraft Date: Tue, 15 Jan 2008 13:37:15 +0200 Message-Id: <1200397035.5681.22.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: 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 12:00:11 -0000 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