
![]()
| CGIスクリプト > リファレンス apache_2.2.4とphp-5.2.0とActivePerl-5.6.1.638をWindowsマシンへインストール |
apache_2.2.4とphp-5.2.0とActivePerl-5.6.1.638をWindowsマシンへインストール |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
php.iniを編集してPHPの設定を行います。php.iniはc:\usr\phpにあります。php.iniをメモ帳などのテキストエディタで開いて該当箇所を赤字のように書き換え、または追加します。
190行目
short_open_tag = Off
short_open_tag = On
212行目
display_errors = Off
display_errors = On
548行目に
extension_dir =F:\usr\php\ext
があるか?なければ追加
456行目
;extension=php_mbstring.dll
extension=php_mbstring.dll
1211行目
;mbstring.language = Japanese
mbstring.language = Japanese
1216行目
;mbstring.internal_encoding = EUC-JP
mbstring.internal_encoding = EUC-JP
1219行目
;mbstring.http_input = auto
mbstring.http_input = auto
1223行目
;mbstring.http_output = SJIS
mbstring.http_output = SJIS
1230行目
;mbstring.encoding_translation = Off
mbstring.encoding_translation = Off
1234行目
;mbstring.detect_order = auto
mbstring.detect_order = auto
1238行目
;mbstring.substitute_character = none;
mbstring.substitute_character = none;
以上でPHPの設定は終わりです。
タスクトレイのApache Monitorのアイコンを右クリックしてApache MonitorでApacheをRestartしてください。
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |