Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 13:37:15 +0200
From:      Dominik Zalewski <dzalewski@open-craft.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 6.1 php5 cli core dumped
Message-ID:  <1200397035.5681.22.camel@polonium.opencraft.local>

next in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1200397035.5681.22.camel>