From owner-freebsd-questions@FreeBSD.ORG Tue Aug 6 12:17:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E3B9155E for ; Tue, 6 Aug 2013 12:17:25 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 932132B49 for ; Tue, 6 Aug 2013 12:17:25 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r76C0cEK030479 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 6 Aug 2013 13:00:39 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <5200E568.8030307@fjl.co.uk> Date: Tue, 06 Aug 2013 13:00:40 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: php problems References: <52006E74.9080905@msen.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2013 12:17:26 -0000 On 06/08/2013 15:21, Lars Eighner wrote: > On Mon, 5 Aug 2013, Mark Moellering wrote: > >> I tried a simple "hello world" type program >> the actual code is : >> > echo "test" >> ?> >> and the output was; >> >> testsegmentation fault > > First, try it with clean code: put the ; after the command and stop > closing > the Actually that should work and does work. I'm in the happy position of being able to recreate (but without the fault): %php test.php test %php --version PHP 5.3.6 with Suhosin-Patch (cli) (built: Jul 27 2011 20:41:21) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies %uname -v FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC %cat test.php %php test.php test % So what you're should doing should work. I should try recompiling and reinstalling PHP as a first step, unless you have reasons you don't want to do that. Email me directly if you want to cross-check config files and so on on what may be a very similar environment. Regards, Frank.