|
|||
|
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 |
|
|||
|
Re: How do I install "iconv" under CPanel?
Quote:
__________________
:: 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 |
|
|||
|
I also would be interested in this. Would someone help us?
__________________
WaterWolfDomains http://www.WaterWolfDomains.com Email: Domains@WaterWolfDomains.com |
|
|||
|
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.. |
|
|||
|
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
|
|
|||
|
Quote:
Thanks! Last edited by Fbarajas; 11-08-2004 at 02:47 PM. |
|
|||
|
Quote:
I tried it both ways: using easyapache from a shell, and using it inside cpanel. Maybe I'm editing the incorrect file? |
|
||||
|
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
|
|
|||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|