L
laurentf
Guest
Hello,
I have a problem with Horde on Plesk 7.5.3 with FreeBSD 5.3 ( seems to be Plesk/FreeBSD specific) :
with a french localized browser (IE or Firefox, whatever) all accents a replaced by weirds characters.
At first sight, the problem is that the page is sent in ISO-8859-1, but the browser expects UTF-8 ( for instance, in Firefox, changing the character encoding from UTF-8 to ISO-8859-1 solves the problem temporary, for only one page)
By looking at
http://webmail.domain.tld/horde/test.php, i can see, under "PHP Module Capabilities" section :
in phpinfo() , the configure section looks terrible :
the /usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist seems to be big plesk bug !!!
moreover, there are *TWO* --with-iconv-dir ( the first in /usr/local, the second in the path above ), but NO --with-iconv (which activate iconv support)
( same thing on a test box with a fresh install, so I'm sure it's the 'stock' php bundled with Plesk on FreeBSD ... )
To verify this, I tried to recompile php by hand (which is not easy, because my system don't have /usr/home/builder/tmp_serge ... )
After a few try, I managed to recompile an unperfect PHP ( I didn't solved all the required dependancies ...) with iconv support --> Horde works perfectly with french accents !
So, after this long intro, here's my question :
What is the neatest way to recover iconv support in php ? (without waiting for an hypothetical new version of Plesk which solves the problem ...)
thanks !
I have a problem with Horde on Plesk 7.5.3 with FreeBSD 5.3 ( seems to be Plesk/FreeBSD specific) :
with a french localized browser (IE or Firefox, whatever) all accents a replaced by weirds characters.
At first sight, the problem is that the page is sent in ISO-8859-1, but the browser expects UTF-8 ( for instance, in Firefox, changing the character encoding from UTF-8 to ISO-8859-1 solves the problem temporary, for only one page)
By looking at
http://webmail.domain.tld/horde/test.php, i can see, under "PHP Module Capabilities" section :
Code:
Iconv Support: No
in phpinfo() , the configure section looks terrible :
Code:
'./configure' '--enable-versioning'
'--enable-memory-limit' '--with-layout=GNU'
'--with-zlib-dir=/usr' '--disable-all'
'--prefix=/usr/local/psa/apache'
'--with-config-file-path=/usr/local/psa/apache/conf'
'--enable-track-vars'
'--with-iodbc=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--enable-static' '--enable-mbstring'
'--enable-mbregex' '--with-regex=php'
'--with-pear' '--enable-ctype'
'--with-curl=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-dom=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--enable-ftp' '--with-gd' '--enable-gd-native-ttf'
'--enable-gd-jis-conv'
'--with-freetype-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-jpeg-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-png-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--without-tiff'
'--with-gettext=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-iconv-dir=/usr/local'
'--with-mhash=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-mysql=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/release/dist/usr/local/psa/mysql'
'--with-openssl-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/release/openssl'
'--with-openssl=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/release/openssl'
'--enable-overload'
'--with-pcre-regex=yes' '--enable-posix'
'--with-pgsql=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/release/dist/usr/local/psa/postgresql'
'--enable-session'
'--enable-sockets'
'--enable-tokenizer' '--with-expat-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--enable-xml' '--enable-xslt'
'--with-xslt-sablot=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-sablot-js=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-iconv-dir=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-zlib=yes'
'--with-apxs2=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/apache/files/apxs'
'--with-imap=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--with-imap-ssl=/usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist'
'--prefix=/usr/local/psa/apache' 'i386-portbld-freebsd5.3'
the /usr/home/builder/tmp_serge/psa_PLESK_7_5_3/lib/dist seems to be big plesk bug !!!
moreover, there are *TWO* --with-iconv-dir ( the first in /usr/local, the second in the path above ), but NO --with-iconv (which activate iconv support)
( same thing on a test box with a fresh install, so I'm sure it's the 'stock' php bundled with Plesk on FreeBSD ... )
To verify this, I tried to recompile php by hand (which is not easy, because my system don't have /usr/home/builder/tmp_serge ... )
After a few try, I managed to recompile an unperfect PHP ( I didn't solved all the required dependancies ...) with iconv support --> Horde works perfectly with french accents !
So, after this long intro, here's my question :
What is the neatest way to recover iconv support in php ? (without waiting for an hypothetical new version of Plesk which solves the problem ...)
thanks !