LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > how to implement iconv extension

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2006, 10:09 PM
wpl12 wpl12 is offline
New Member
 
Join Date: Aug 2006
Posts: 4
Default how to implement iconv extension

how to implement iconv
in phpinfo() page:
Server API LiteSpeed
Configuration File (php.ini) Path /usr/local/lsws/conf/php.ini
extension_dir /usr/local/lsws/lib/

i have copied iconv.so to /usr/local/lsws/lib/ this dir.and i have added extension=iconv.so to /usr/local/lsws/conf/php.ini,
service lsws restart

i can't see any iconv in phpinfo() page

Last edited by wpl12; 08-20-2006 at 10:27 PM..
Reply With Quote
  #2  
Old 08-21-2006, 05:31 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
try "extension=../lib/iconv.so"
Reply With Quote
  #3  
Old 08-21-2006, 07:42 PM
wpl12 wpl12 is offline
New Member
 
Join Date: Aug 2006
Posts: 4
I have implement eaccelerator extension at the same way.
i just do this:
cp eaccelerator.so /usr/local/lsws/lib/
vi php.ini;
and add extension=eaccelerator.so
service lsws restart and it work well;

I have done what you say,but it still dont work;
the iconv.so's compile method:
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
cp /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/iconv.so /usr/local/lsws/lib/

Last edited by wpl12; 08-21-2006 at 07:48 PM..
Reply With Quote
  #4  
Old 08-22-2006, 07:43 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
./configure --with-php-config=/usr/local/php/bin/php-config

When you used above to configure iconv, is php-config the version from the operating system default or the one created by compiling php? The versions must match exactly or the compiled .so will not work. For php 4.4.3, you must use php-config from a 4.4.3 installation to compile the subsequent .so modules.

Check litespeed error.log/stderr.log to see why there are any entries logged.
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking files by extension Marcus Install/Configuration 2 02-28-2007 03:09 PM
how can I add iconv to pre-built php bundled with LSWS? surfman Install/Configuration 1 01-01-2007 12:14 PM
ForceType/PHP without .php extension lux Install/Configuration 11 08-28-2006 09:39 AM


All times are GMT -7. The time now is 12:37 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.