phpなどのプログラムは、apache権限で動作しますので、プログラムからディレ
クトリ・ファイルを作成された場合、UID・GIDは、apacheとなります。
UID・GIDapacheのファイル・ディレクトリのパーミッションを変更される場合は
、
SSHでログイン後コマンドを入力します。
WinSCP3、putty
SSHのソフトputtyは、以下のサイトからダウンロード出来ます。
http://hp.vector.co.jp/authors/VA024651/download/file/puttykjbin-20050503.zip
WinSCP3
http://www.mita.cc.keio.ac.jp/manual/nt/ws3i.html
2007年3月28日水曜日
2007年3月27日火曜日
nucleusからwordPressへの乗り換え
nucleusからMTとしてブログを以下のプラグインを使用し出力
http://japan.nucleuscms.org/wiki/plugins:impexp
wordPressではMTとしてインポートする。
http://japan.nucleuscms.org/wiki/plugins:impexp
wordPressではMTとしてインポートする。
2007年3月5日月曜日
2007年3月4日日曜日
2007年3月3日土曜日
php.iniの設定を変更できない場合
php.iniの設定を変更できない場合の文字化けの対処。
目的のディレクトリ内の.htaccessを編集する。
内部エンコード、HTTP出力エンコード、HTTP入力エンコード
全てEUC-JPに設定する場合:
-----
php_flag output_buffering On
php_value default_charset EUC-JP
php_value mbstring.language Japanese
php_flag mbstring.encoding_translation On
php_value mbstring.http_input auto
php_value mbstring.internal_encoding EUC-JP
php_value mbstring.http_output EUC-JP
php_value mbstring.language "Japanese"
php_flag output_buffering On
php_value output_handler "mb_output_handler"
php_flag session.use_trans_sid On
php_value default_charset "Shift_JIS"
php_value mbstring.internal_encoding "EUC-JP"
php_value mbstring.http_input "auto"
php_value mbstring.http_output "SJIS"
php_flag mbstring.encoding_translation On
php_value mbstring.detect_order "auto"
php_value mbstring.script_encoding "EUC-JP"
php_value mbstring.substitute_character "none;"
目的のディレクトリ内の.htaccessを編集する。
内部エンコード、HTTP出力エンコード、HTTP入力エンコード
全てEUC-JPに設定する場合:
-----
php_flag output_buffering On
php_value default_charset EUC-JP
php_value mbstring.language Japanese
php_flag mbstring.encoding_translation On
php_value mbstring.http_input auto
php_value mbstring.internal_encoding EUC-JP
php_value mbstring.http_output EUC-JP
php_value mbstring.language "Japanese"
php_flag output_buffering On
php_value output_handler "mb_output_handler"
php_flag session.use_trans_sid On
php_value default_charset "Shift_JIS"
php_value mbstring.internal_encoding "EUC-JP"
php_value mbstring.http_input "auto"
php_value mbstring.http_output "SJIS"
php_flag mbstring.encoding_translation On
php_value mbstring.detect_order "auto"
php_value mbstring.script_encoding "EUC-JP"
php_value mbstring.substitute_character "none;"
2007年3月1日木曜日
登録:
投稿 (Atom)
