Updated php4 -> php5, have problem, help, please

tonikas

New member
Joined
Nov 16, 2005
Messages
3
Please, help.
Fatal error: Call to undefined function iconv() in /home/..../script.php
Two days ago i have updated php to php5, and today found that function iconv() does not work.
Added iconv to the congigure.php:
./configure \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-iconv \
--with-iconv-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
....
Then
cd /tmp/php5
/usr/local/directadmin/customapache/configure.php
make
make install
Then restart apache.
Problem did not resolve...

phpinfo:
Configure Command './configure' '--with-apxs' '--with-curl' '--with-curl-dir=/usr/local/lib' '--with-iconv' '--with-iconv-dir=/usr/local/lib' '--with-gd' '--with-gd-dir=/usr/local' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-kerberos' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr/local/mysql' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-xml' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-zip' '--with-openssl' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-track-vars' '--enable-mbstring' '--enable-memory-limit'
.....
iconv
iconv support enabled
iconv implementation unknown
iconv library version unknown
.....

Help, please.
 
Problem has resolved!

configure.php:
--with-iconv=/usr/local/lib

cd /tmp/php5
/usr/local/directadmin/customapache/configure.php
make
make install

restart apache
 
At me this эже the problem, is necessary iconv, I have established it, have registered all as here написанно, and as a result writes: ненайденно.
Write please on items how to put:
1) itself iconv (I can it not so has put)
2) and on PHP

Configuration:
FreeBSD 6.1, PHP 4.4.2,Apache 1.3.36,DirectAdmin last version.Please help!
I can give money!!!
 
Back
Top