freebsd-doc at fjl.co.uk
Tue Aug 6 12:12:31 UTC 2013
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
> 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 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
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
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.
More information about the freebsd-questions