วันศุกร์ที่ 16 มกราคม พ.ศ. 2552

tip set apache ให้รองรับ utf-8

httpd.conf:
=============
AddCharset UTF-8 .utf8
AddDefaultCharset UTF-8

php.ini
===============
default_charset = "utf-8"

my.cnf
================
character-set-server=utf8
default-collation=utf8_unicode_ci
ทิป อ.กิตติพงษ์ สุวรรณราช แห่ง thaibsd

1 ความคิดเห็น:

ชีวิต..??ใยมีสุข ปนทุกข์ กล่าวว่า...

# pico /etc/ssh/sshd_config

ค้นหาบรรทัด # Port 22 แก้ไขเป็น

Port 2510 เมื่อ 2510 คือ Port ที่อนุญาตให้ Remote เข้า Server ได้ แทน Port 22 ครับ