XREAサーバー設置メモ
freoをXREA(php5サーバー)に設置する手順
1)config.php を開いて各種設定・mod_rewrite ON
2).htaccess に
<Files index.php>
AddHandler application/x-httpd-php5cgi .php
</Files>
mod_gzip_on Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)$ index.php?pathinfo=$1&%{QUERY_STRING}
</IfModule>
3)index.phpと同階層に置いた php.ini に
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
;mbstring.http_output = UTF-8
mbstring.detect_order = auto
※ XREAサーバー(とCORESERVERの一部)はPHPの文字コードがUTFではないらしく、3)を忘れると fatal errer になるので注意。