mbstring problem
| From: | Patrick T. Tsang | Date: | Tue, 25 Mar 2003 14:38:51 +0000 |
| Subject: | mbstring problem | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-512@lists.php.net to get a copy of this message | ||
Dear all,
I am using PHP 4.3.0 and have compiled it with mbstring support.
here is the compile line.
================
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf --enable-versioning \
--with-mysql --enable-ftp --enable-bcmath --enable-inline-optimization \
--disable-debug \
--enable-memory-limit=yes --enable-track-vars --enable-save-mode \
--enable-magic-quotes --with-gettext=/usr/bin \
--with-xml --with-imap=/usr/local/imap \
--with-curl=/usr/local --enable-mbstring --enable-mbstr-enc-trans \
--with-jpeg-dir=/usr --with-png-dir=/usr \
--with-zlib-dir=/usr/local --with-t1lib=/usr/local \
--with-gd=/usr/local --with-zlib=/usr/local --enable-gd-imgstrttf \
--enable-gd-native-ttf --with-freetype-dir=/usr \
--with-pdflib=/usr/local --with-openssl=/usr/local/openssl \
--enable-trans-sid --with-cpdflib --with-pgsql --with-ming=/usr \
--with-bz2 --enable-calendar --with-pspell \
--enable-tokenizer --with-iconv=/usr/local \
--with-gmp --with-mcrypt --with-ldap --with-mm=/usr/local/lib/mm \
--with-mbstring=cn --with-mbstring=tw --enable-mbregex \
--enable-xslt --with-xslt-sablot \
--with-sablot-js --with-expat-dir=/usr/local \
================
From php.net, it says no more '--enable-mbstring' needed in PHP 4.3.0 but I
failed to have mbstring support without this!
Also I can't see any GB and BIG5 support shown on phpinfo(), only Japanese
is supported.
I can't successfully test GB and BIG5 using mb_* functions
had tested with PHP 4.3.2RC1 using the same compile line still got the same
problem.
Anyone could help?
Thanks
Patrick Tsang