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
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
yes, I need this also.
do you have any information?
Regards, Alexey
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.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
:: 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
I need iconv support for phpadmin also. Does any one know how to do this under redhat or whm?
I also would be interested in this. Would someone help us?
I want to know how! Anyone please?
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 ****************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![]()
![]()
![]()
I'm second one.
Please add this to easyapache option.
Regards, Alexey
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.
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?Originally Posted by Sinewy
Thanks!
Last edited by Fbarajas; 11-08-2004 at 02:47 PM.
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.Originally Posted by Sinewy
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![]()