PHP.ini設定
- 2010.06.27
- Linux
OMEサーバ PHP.ini設定
;default_charset = “utf-8”
default_charset = “utf-8”
サーバ制限設定変更
;max_execution_time = 60
max_execution_time = 180
;max_input_time = 30
max_input_time = 180
;memory_limit = 16M
memory_limit = 256
;upload_max_filesize = 16M
upload_max_filesize = 256M
;default_socket_timeout = 60
default_socket_timeout = 120
を有効にする
;short_open_tag = Off
short_open_tag = On
TimeZone設定(date()関数エラー対処)
;date.timezone =
date.timezone = Asia/Tokyo
mbstringインストール
# yum -y install php-mbstring
# /etc/init.d/httpd restart
[mbstring]
;mbstring.language = Japanese
mbstring.language = Japanese
;mbstring.internal_encoding = UTF-8
mbstring.internal_encoding = UTF-8
;mbstring.http_output = UTF-8
mbstring.http_output = UTF-8
;mbstring.encoding_translation = Off
mbstring.encoding_translation = Off
;mbstring.detect_order = auto
mbstring.detect_order = auto
;mbstring.substitute_character = none;
mbstring.substitute_character = none;
;mbstring.func_overload = 0
mbstring.func_overload = 0
;mbstring.strict_detection = Off
mbstring.strict_detection = Off
;mbstring.http_output_conv_mimetype=
コメントを投稿するにはログインしてください。