iconv disabled - wordpress post by email / postie

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by lego » Wed Nov 27, 2024 7:10 pm
I'm using Wordpress on Sonic web server and I'ts working well :) But in order to post by email using either the inbuild Wordpress module or Postie plug in - I'm getting character jumble in the output and a lot of 'iconv missing' error messages.
Phpinfo.php tells me this about the webserver
'./configure' '--with-zlib' '--disable-mbregex' '--enable-sockets' '--prefix=/opt/php7' '--enable-opcache=no' '--without-iconv'

From PHP install manual:
ICONV : This extension is enabled by default, although it may be disabled by compiling with --without-iconv. The optional --with-iconv[=DIR] directive is used to specify the location of iconv on the system that PHP is being compiled on, otherwise only the default locations are scanned.

Can Sonic enable iconv ?
Or is there a workaround to get these emailed posts onto the Wordpress site without character jumbling/error messages?
Thanks!
by lego » Thu Dec 05, 2024 4:01 pm
Just to confirm this is the problem, here's a snip from the logs: Sonic needs to enable iconv
=============
An error of type E_ERROR was caused in line 492 of the file /nfs/www/WWW_pages/user/rec/wp-content/plugins/postie/lib/fMailbox.php. Error message: Uncaught Error: Call to undefined function iconv() in /nfs/www/WWW_pages/user/rec/wp-content/plugins/postie/lib/fMailbox.php:492
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 1 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 2877 on Wed Sep 25, 2024 9:53 pm

Users browsing this forum: Google [Bot] and 0 guests