#本来はphp.iniに設定したい
Options +FollowSymLinks +ExecCGI

<IfModule mod_php4.c>
    php_flag magic_quotes_gpc Off
    php_value max_execution_time 6000
    php_value memory_limit 256M
    php_value post_max_size 256M
    php_value upload_max_filesize 256M
    php_value mbstring.language Japanese
    php_value mbstring.encoding_translation off
    php_value mbstring.http_input Auto
    php_value mbstring.http_output UTF-8
    php_value mbstring.internal_encoding UTF-8
    php_value session.gc_probability 1
    php_value session.gc_divisor 100
    php_value session.gc_maxlifetime 3600
</IfModule>

<IfModule mod_php5.c>
    php_flag magic_quotes_gpc Off
    php_value max_execution_time 0
    php_value memory_limit 256M
    php_value post_max_size 256M
    php_value upload_max_filesize 256M
    php_value mbstring.language Japanese
    php_value mbstring.encoding_translation off
    php_value mbstring.http_input Auto
    php_value mbstring.http_output UTF-8
    php_value mbstring.internal_encoding UTF-8
    php_value session.gc_probability 1
    php_value session.gc_divisor 100
    php_value session.gc_maxlifetime 3600
</IfModule>

