WordPress2.6系 CPIの設定
WordPress2.6.3をCPIのサーバにインストールした時の覚書。
/html/blog/にwordpressをインストール
■.htaccessの設定 /html/blog/.htaccess
AddHandler x-httpd-php524 .php
suPHP_ConfigPath /usr/home/お客様ID/html/blog/
※2行目は下層フォルダにもphp.iniの設定を反映させるおまじない
これを書いていなかった為かなりはまる事に・・・・
■php.iniの設定 /html/blog/php.ini
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;
■wp-config.php
define(‘DB_HOST’, ‘127.0.0.1:3307′);
※CPIではMySQLのバージョンが二つ選べるのでポートで指定
トラックバック URL :
コメント (0)



