#1 (permalink)  
Old 12-26-2003, 10:30 PM
Registered User
 
Join Date: Aug 2003
Posts: 4
Remi
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-04-2004, 03:34 PM
Registered User
 
Join Date: May 2003
Location: Ukraine
Posts: 159
AlexAT
yes, I need this also.

do you have any information?
__________________
Regards, Alexei
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-04-2004, 05:32 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,754
anand is on a distinguished road
Re: How do I install "iconv" under CPanel?

Quote:
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 ::
Authorised cpanel Partner NOC

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-05-2004, 01:56 PM
Registered User
 
Join Date: Oct 2001
Posts: 3
tocalvin
php support iconv

I need iconv support for phpadmin also. Does any one know how to do this under redhat or whm?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-08-2004, 01:21 PM
Registered User
 
Join Date: Jun 2003
Posts: 27
Water
I also would be interested in this. Would someone help us?
__________________
WaterWolfDomains
http://www.WaterWolfDomains.com
Email: Domains@WaterWolfDomains.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-23-2004, 03:56 PM
Registered User
 
Join Date: Jun 2003
Posts: 19
mss6
I want to know how! Anyone please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-20-2004, 01:54 PM
Registered User
 
Join Date: Jul 2004
Posts: 10
aromalp is on a distinguished road
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..

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-06-2004, 09:52 AM
Registered User
 
Join Date: Jun 2003
Location: Paris
Posts: 12
soif
I did recompil php manually to get iconv support but it seems that the latest cpanel update (whithout doing an apache update) completely fucked 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-06-2004, 10:15 AM
Registered User
 
Join Date: May 2003
Location: Ukraine
Posts: 159
AlexAT
I'm second one.

Please add this to easyapache option.
__________________
Regards, Alexei
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-07-2004, 02:09 PM
Sinewy's Avatar
Registered User
 
Join Date: May 2004
Location: Sydney, Australia
Posts: 369
Sinewy is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-08-2004, 12:11 PM
Registered User
 
Join Date: Jul 2004
Posts: 14
Fbarajas is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-09-2004, 12:54 AM
Sinewy's Avatar
Registered User
 
Join Date: May 2004
Location: Sydney, Australia
Posts: 369
Sinewy is on a distinguished road
just re-add it each time. it's only a tiny bit to add 4 times.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-09-2004, 08:54 AM
Registered User
 
Join Date: Jul 2004
Posts: 14
Fbarajas is on a distinguished road
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-10-2004, 12:28 AM
Sinewy's Avatar
Registered User
 
Join Date: May 2004
Location: Sydney, Australia
Posts: 369
Sinewy is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-13-2004, 01:23 PM
Registered User
 
Join Date: Jun 2003
Location: Paris
Posts: 12
soif
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:44 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc