How to enable iconv on CPanel server?

The iconv API is the standard programming interface for converting character strings from one character encoding to another in Unix-like operating systems. Initially appearing on the HP-UX operating system, it was standardized within XPG4 and is part of the Single UNIX Specification (SUS).

All recent Linux distributions contain a free implementation of iconv() as part of the GNU C Library which is the C library for current Linux systems. To use it, the GNU glibc locales need to be installed, which are provided as a separate package (usually named glibc-locale) normally installed by default.

…. source : wikipedia.org

From WHM you can compile Apache with iconv :

WHM Main >> Software >> EasyApache (Apache Update)

Follow the wizard and slect “Iconv (experimental)” under PHP Exhaustive Settings and start the Apache build by using “Start Build”.

You may also like...

3 Responses

  1. Priya Patil says:

    A concise and good explanation on how to enable iconv on Cpanel.

  2. Thanks,
    You solved my last 3 month solution, that server support not answered.

  3. Walmir says:

    Thanks, You solved what no one could.
    nor my hostgator support

Leave a Reply

Your email address will not be published. Required fields are marked *