ID: 39685 User updated by: dinumarina at gmail dot com Reported By: dinumarina at gmail dot com -Status: Feedback +Status: Open Bug Type: Unknown/Other Function Operating System: Slackware PHP Version: 5.2.0 New Comment:
I did read it, but it didn't help alot, I had 2 different servers that were running php 5.0.4 and 5.1.2 and iconv() worked fine, now I have 2 servers with 5.2.0 and no iconv... well, don't mind me, I'll just go back to 5.1.2 and wait until the bug gets fixed. Previous Comments: ------------------------------------------------------------------------ [2006-11-29 17:28:58] [EMAIL PROTECTED] Please read my previous message. ------------------------------------------------------------------------ [2006-11-29 17:24:28] dinumarina at gmail dot com Update 2: CentOs 3.8 with php 5.1.2 and iconv() scripts working... compiled 5.2.0, inconv() undefined! ------------------------------------------------------------------------ [2006-11-29 17:15:51] dinumarina at gmail dot com Update: I just compiled php 5.0.4 with exactly the same options and it works, I also have an 5.1.2 running with iconv, so I think the problem appeared somewhere between 5.1.2 and 5.2.0 ------------------------------------------------------------------------ [2006-11-29 16:50:36] dinumarina at gmail dot com Done: Installed libiconv 1.9 in /opt/iconv rm config.cache './configure' '--prefix=/usr' '--disable-static' '--with-apxs=/usr/local/apache/bin/apxs' '--sysconfdir=/etc' '--enable-discard-path' '--with-config-file-path=/etc/apache' '--with-openssl' '--enable-bcmath' '--with-bz2' '--with-pic' '--enable-calendar' '--enable-ctype' '--with-gdbm' '--with-imap-ssl=/tmp/pine4.58/imap/c-client' '--with-imap=/tmp/pine4.58/imap/c-client' '--enable-dbase' '--enable-ftp' '--with-iconv=/opt/iconv' '--with-exif' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png' '--with-gmp' '--with-xml=shared,/usr' '--with-gettext=shared,/usr' '--enable-trans-sid' '--enable-shmop' '--enable-sockets' '--with-regex=php' '--enable-sysvsem' '--enable-sysvshm' '--enable-yp' '--enable-memory-limit' '--with-tsrm-pthreads' '--enable-shared' '--disable-debug' '--with-zlib=/usr' '--with-kerberos' '--with-mysql' '--with-iconv-dir=/opt/iconv' still the same result, iconv() undefined... also from what I can make of ./configure, it will search for glibc iconv and if found it will use it regardless of --with-iconv= value? And anyway, the problem was there before installing libiconv, when there was only glibc... it still gave undefined function for iconv. ------------------------------------------------------------------------ [2006-11-29 16:43:12] [EMAIL PROTECTED] Sure. Install it properly into separate location and specify its prefix in configure. ------------------------------------------------------------------------ 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/39685 -- Edit this bug report at http://bugs.php.net/?id=39685&edit=1