Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2013 13:00:40 +0100
From:      Frank Leonhardt <>
Subject:   Re: php problems
Message-ID:  <>
In-Reply-To: <alpine.BSF.2.00.1308060919130.71557@abbf.ynefrvtuareubzr.pbz>
References:  <> <alpine.BSF.2.00.1308060919130.71557@abbf.ynefrvtuareubzr.pbz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 :
>> <?php
>> echo "test"
>> ?>
>> and the output was;
>> testsegmentation fault
> First, try it with clean code: put the ; after the command and stop 
> closing
> the <?php tag at the end of the file.

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
%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
%cat test.php
echo "test"

%php test.php

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.

Want to link to this message? Use this URL: <>