ID: 26264 User updated by: Joerg dot Dieter dot Friedrich at uni-konstanz dot de Reported By: Joerg dot Dieter dot Friedrich at uni-konstanz dot de Status: Open Bug Type: ICONV related Operating System: Solaris 9 PHP Version: 4.3.4 New Comment:
Hi again. I tested a lot these weekend. Summary: OS: Solaris 9 I want to use horde cvs which supports utf-8 coding of each page displayed. I compiled php with --with-iconv=shared --enable-mbstring=shared,all. No libiconv was installed. Solaris libc provides these iconv-functions. php always segfaults when charset is set to utf-8. Then I tried to use GNU's libiconv, but php still segfaults. then I tried to --enable-debug. no segfaults anymore, there is a Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 btw no segfault no coredump. I dont know what to do and how to debug this beast. Previous Comments: ------------------------------------------------------------------------ [2003-11-17 21:54:39] [EMAIL PROTECTED] see also bug #25281 ------------------------------------------------------------------------ [2003-11-17 12:50:50] [EMAIL PROTECTED] I should have been a bit more specific about my suggestion. I wrote it that way because you were implying you have libiconv installed also. If you have both in your machine, it's possible that iconv extension wrongly detects the library to be used. ------------------------------------------------------------------------ [2003-11-16 11:01:53] Joerg dot Dieter dot Friedrich at uni-konstanz dot de Why should this be needed. I haven't installed any libiconv in /usr/local. Solaris provides the iconv in libc and the headers are in /usr/include/iconv.h ------------------------------------------------------------------------ [2003-11-16 06:11:34] [EMAIL PROTECTED] Try giving the prefix of iconv library to the configure option, like --with-iconv=shared,/usr/local ------------------------------------------------------------------------ [2003-11-16 04:31:13] Joerg dot Dieter dot Friedrich at uni-konstanz dot de Here you are: ./configure --prefix=/opt/php4 --with-apxs=/opt/apache/bin/apxs --sysconfdir=/opt/etc/php4 --with-config-file-path=/opt/etc/php4 --disable-debug --with-gd=shared --with-jpeg-dir=/usr/sfw --with-png-dir=/usr/sfw --with-zlib=shared --with-imap=shared,/usr/local/src/imap-2002e --with-mysql=shared,/opt/mysql --with-mysql-sock=/var/run/mysql/sock --enable-dba=shared --with-db4=shared,/usr/local --with-ndbm=shared --with-ldap=shared,/usr/local --with-openssl=/usr/local/ssl --with-gettext --with-pear --enable-safe-mode --enable-bcmath=shared --enable-calendar=shared --enable-ftp=shared --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mcrypt=shared --with-xml=shared --with-dom=shared --enable-mime-magic --with-iconv=shared --with-mbstring=all ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26264 -- Edit this bug report at http://bugs.php.net/?id=26264&edit=1