- The Perfect Server - Ubuntu 13.04 (nginx, BIND, Dovecot, ISPConfig 3)
- Ubuntu 13.04 Samba Standalone Server With tdbsam Backend
- The Perfect Server - Ubuntu 13.04 (Apache2, BIND, Dovecot, ISPConfig 3)
- How To Upgrade Ubuntu 12.10 (Quantal Quetzal) To 13.04 (Raring Ringtail) (Desktop & Server)
- Setting Up ProFTPd + TLS On Ubuntu 12.10
How To Configure PHP To Support Korean Encode
In This Tutorial i want to configure my PHP to support korean encode.
here is a short tutorial how to do that
In order to support other encode we need to reconfigure PHP with mbstring
Login into the server as root
Configure PHP 5.3.0 with mbstring
#cd /root/php-5.3.0
#./configure --enable-mbstring
#make && make install
Modify php.ini
#vi /etc/php.ini
###change few lines below ###
default_charset = EUC-KR
[mbstring]
mbstring.language = Korean
mbstring.internal_encoding = EUC-KR
mbstring.http_input = auto
mbstring.http_output = EUC-KR
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;
### leave others php setting default ####
Note :
if you don't know where is your php.ini
you can verify it by this command below
#php -i |grep php.ini
Configuration File (php.ini) Path => /etc
Scan this dir for additional .ini files => (none)
additional .ini files parsed => (none)
Restart Apache Webserver
#/usr/local/apache/bin/apachectl stop
#/usr/local/apache/bin/apachectl start
Facebook Fans
Windows News
- Infographic: New Crew Believes Job Jumping Helps Climb the Corporate Ladder
- Gearing Up for a Monumental Event: IT Connections Opens Call for Content
- Microsoft's Billion-Dollar Businesses, Past and Future
- Microsoft's "Don't fight. Switch." campaign for Windows Phone
- Fully Automate Your Quarterly Build & Capture Process
