Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    4

    Default How do I install "iconv" under CPanel?

    Dear Sir

    I have been looking every where witout any luck!

    Can you kindly advice me on how how to compile the Php Module "Iconv" under CPanel.

    It is not listed in the WHM with Php Modules.

    Thank you very much in advance

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    yes, I need this also.

    do you have any information?
    Regards, Alexey

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: How do I install "iconv" under CPanel?

    Originally posted by Remi
    Dear Sir

    I have been looking every where witout any luck!

    Can you kindly advice me on how how to compile the Php Module "Iconv" under CPanel.

    It is not listed in the WHM with Php Modules.

    Thank you very much in advance
    You mean you want to use it inside cpanel or you want it for users ? The cpanel php has limited functionality. The system wide php, i guess you do a custom php compile.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Default php support iconv

    I need iconv support for phpadmin also. Does any one know how to do this under redhat or whm?

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    27

    Default

    I also would be interested in this. Would someone help us?

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    19

    Default

    I want to know how! Anyone please?

  7. #7
    Member
    Join Date
    Jul 2004
    Posts
    10

    Default Iconv Installation


    Hi,

    Iconv installation can be done as follows,

    Download libiconv from, http://ftp.gnu.org/pub/gnu/libiconv/...v-1.9.1.tar.gz and perform the following steps,

    1. tar -zxf libiconv-1.9.1.tar.gz
    2. cd libiconv-1.9.1
    3. ./configure
    4. make
    5. make install

    Iconv will be installed in /usr/local/bin by default.

    To enable php support for inconv add the option --with-iconv=/usr/local in the configure options and proceed with the rest of the steps for php compile ( make, make install ). This should configure php with iconv support..


  8. #8
    Member
    Join Date
    Jun 2003
    Location
    Paris
    Posts
    12

    Default

    I did recompil php manually to get iconv support but it seems that the latest cpanel update (whithout doing an apache update) completely ****************ed my php

    So if you, as me, cant live without iconv, here is a more simple method to update using Easyapache script, while having the choice to keep iconv.

    Assuming you still have libiconv installed (see previous post).


    1) run /script/easyapache (wait that it load the package) then

    2) in another shell window, edit the config file using:

    pico /home/cpapachebuild/buildapache/modules/php

    and add the following lines (i did it on the blank line at the middle of the file):

    $SUBMODULE{'php-iconv'} = join(":","Iconv (Soif Hack)"," --with-iconv=/usr/local ","");
    $SETMODULE{'php-iconv'} =1;

    3) you can now (on the other shell window) choose option 6, then php_modules---> to select the modules you want or not, including Iconv! and start compiling

    This could be really more simple if cpanel would be kind enought to add those two lines in the original package (PLEASE).

    Cpanel team PLEASE

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I'm second one.

    Please add this to easyapache option.
    Regards, Alexey

  10. #10
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    easyapache wipes the /home/cpapachebuild/buildapache folder each time.

    it is better to go into /home/cpapachebuild/buildapache/buildscript and find --with-zlib close to the bottom and add --with-iconv=/usr/local to the end of --with-zlib.

    there is possibly more than 6 occurences of this. the occurences are fairly close to each other i might add.

  11. #11
    Member
    Join Date
    Jul 2004
    Posts
    22

    Question

    Quote Originally Posted by Sinewy
    easyapache wipes the /home/cpapachebuild/buildapache folder each time.

    it is better to go into /home/cpapachebuild/buildapache/buildscript and find --with-zlib close to the bottom and add --with-iconv=/usr/local to the end of --with-zlib.
    I don't understand. If the "buildapache" folder is wiped each time, then those changes in the buildscript file will also be wiped, don't they?

    Thanks!
    Last edited by Fbarajas; 11-08-2004 at 02:47 PM.

  12. #12
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    just re-add it each time. it's only a tiny bit to add 4 times.

  13. #13
    Member
    Join Date
    Jul 2004
    Posts
    22

    Unhappy Won't work

    Quote Originally Posted by Sinewy
    just re-add it each time. it's only a tiny bit to add 4 times.
    I tried that, but when I run the /scripts/easyapache script it gets erased, so the --with-iconv=/usr/local option gets erased and iconv isn't compiled into PHP/Apache.

    I tried it both ways: using easyapache from a shell, and using it inside cpanel.

    Maybe I'm editing the incorrect file?

  14. #14
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    run easyapache with all you need is step 1.

    ensure iconv is installed is step 2. instructions posted by another user above.

    nano or pico /home/cpapachebuild/buildapache/buildscript

    go down near the bottom where you see the PHP configures. there's 4 of them. go to the end of each and add --with-iconv=/usr/local or =/usr depending where your install is.

    save buildscript and cd /home/cpapachebuild/buildapache
    ./buildscript

    let it run

  15. #15
    Member
    Join Date
    Jun 2003
    Location
    Paris
    Posts
    12

    Talking

    read carefully my previous post. To clarify things:
    1) in shell window 1 run easyapache (yes it will erase any previous version
    2) when it has finished to download, edit the file from shell window 2 (see previous instructions)
    3) from shell window 1 continue the install (option 6)

    HTH

    Cpanel, please add it for us in the php file

Similar Threads & Tags
Similar threads

  1. Replies: 4
    Last Post: 03-14-2008, 09:42 AM
  2. CPanel "default address" not accepting email for "main account"
    By nsdesign in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-08-2005, 06:48 AM
  3. Cannot install cPanel - "ELF binary type "0" not known"
    By cburchell in forum New User Questions
    Replies: 1
    Last Post: 12-09-2004, 08:00 PM
  4. How I can install "cpanel-universal-dnsonly-install.sea" ?
    By garak in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-01-2004, 06:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube