Re: FreeBSD 6.1 php5 cli core dumped

2008-01-15 Thread Dominik Zalewski
I disabled php_mapscript.so extension and PHP CLI doesn't seem to core
dump anymore. Problem is that I really need mapscript.

I tried to recompile mapserver but it didn't help.

Any ideas?


On Tue, 2008-01-15 at 13:37 +0200, Dominik Zalewski wrote:
 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.5The 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.5The 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.5The 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
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1 php5 cli core dumped

2008-01-15 Thread Chuck Swiger

On Jan 15, 2008, at 10:33 AM, Dominik Zalewski wrote:

I disabled php_mapscript.so extension and PHP CLI doesn't seem to core
dump anymore. Problem is that I really need mapscript.

I tried to recompile mapserver but it didn't help.

Any ideas?


Yes, change the order that particular module is listed in your  
extensions.ini file.  Try moving it to the last position, for  
example


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]