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.
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.