このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
50_dialy:2006:09:03 [2015/05/11 07:22] – matsui | 50_dialy:2006:09:03 [2017/11/08 05:49] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 2006.09.03 OpenPNEで文字化け ====== | ||
+ | 流行のSNSをやってみようと思ってOpenPNEをインストールしてみまいしたが・・・ 文字化け、Xoopsでも似たような事があったな・・・ | ||
+ | |||
+ | 今回はXoopsと同じサーバでの設定なんで、.htaccessで制御してみました。 | ||
+ | ===== public_html/ | ||
+ | < | ||
+ | php_value default_charset | ||
+ | php_value mbstring.language | ||
+ | php_value mbstring.internal_encoding | ||
+ | php_value mbstring.http_input | ||
+ | php_value mbstring.http_output | ||
+ | php_value mbstring.detect_order | ||
+ | php_value mbstring.substitute_character none | ||
+ | php_value mbstring.func_overload | ||
+ | php_flag | ||
+ | </ | ||
+ | |||
+ | ===== php.iniの場合はこうらしい ===== | ||
+ | |||
+ | < | ||
+ | [PHP] | ||
+ | default_charset | ||
+ | |||
+ | [mbstring] | ||
+ | mbstring.language | ||
+ | mbstring.internal_encoding | ||
+ | mbstring.http_input | ||
+ | mbstring.http_output | ||
+ | mbstring.detect_order | ||
+ | mbstring.substitute_character = none; | ||
+ | mbstring.func_overload | ||
+ | mbstring.encoding_translation = Off | ||
+ | </ | ||
+ | |||
+ | ===== OpenPNEで画像がアップできない ===== | ||
+ | |||
+ | |||
+ | GDをサポートしてないとアップできないみたいですね。 PHPを再インストールして完了 | ||
+ | < | ||
+ | ./configure --with-mysql=/ | ||
+ | --with-tsrm-pth --enable-mbstring --enable-mbstr-enc-trans \ | ||
+ | --enable-trans-sid --enable-versioning --with-gd \ | ||
+ | --with-jpeg-dir=/ | ||
+ | </ | ||
+ | |||
+ | {{tag> |