2011-03-16 22:25:21 +01:00
|
|
|
#
|
|
|
|
# Set
|
|
|
|
#
|
|
|
|
# AllowOverride FileInfo
|
|
|
|
#
|
|
|
|
# to enable parsing off this file
|
|
|
|
#
|
|
|
|
php_flag file_uploads on
|
|
|
|
php_flag log_errors on
|
|
|
|
php_flag magic_quotes_gpc off
|
|
|
|
php_flag magic_quotes_runtime off
|
|
|
|
php_flag register_globals off
|
|
|
|
php_flag short_open_tag on
|
|
|
|
php_flag track_vars on
|
|
|
|
php_flag display_errors off
|
|
|
|
# E_ALL & ~E_NOTICE & ~E_STRICT = 8191 - 8 - 2048 = 6135
|
|
|
|
php_value error_reporting 6135
|
|
|
|
php_value max_execution_time 90
|
|
|
|
php_value memory_limit 256M
|
|
|
|
php_value session.gc_maxlifetime 14400
|
|
|
|
php_value upload_max_filesize 64M
|
|
|
|
php_value post_max_size 65M
|
|
|
|
# session handling: now the check for expired sessions is done on every 10th session creation
|
|
|
|
php_flag session.use_trans_sid Off
|
|
|
|
php_value session.gc_probability 1
|
|
|
|
php_value session.gc_divisor 10
|
|
|
|
# multibyte extension: needed for utf-8
|
|
|
|
php_value mbstring.func_overload 7
|
2013-03-18 09:16:21 +01:00
|
|
|
#
|
|
|
|
#For Apache FCGI (not regular mod_php!) you need the following rewrite rule:
|
|
|
|
#RewriteEngine on
|
|
|
|
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
|
|
|
|
#Otherwise authentication request will be send over and over again, as password is NOT available to PHP!
|