2003-11-03 22:55:49 +01:00
|
|
|
#
|
2009-10-02 10:51:30 +02:00
|
|
|
# Set
|
2003-11-03 22:55:49 +01:00
|
|
|
#
|
|
|
|
# AllowOverride FileInfo
|
2009-10-02 10:51:30 +02:00
|
|
|
#
|
2003-11-03 22:55:49 +01:00
|
|
|
# to enable parsing off this file
|
|
|
|
#
|
2009-10-02 10:51:30 +02:00
|
|
|
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
|
2010-05-20 17:12:45 +02:00
|
|
|
# E_ALL & ~E_NOTICE & ~E_STRICT = 8191 - 8 - 2048 = 6135
|
2011-03-18 13:15:59 +01:00
|
|
|
php_value error_reporting 6135
|
2009-10-02 10:51:30 +02:00
|
|
|
php_value max_execution_time 90
|
2011-03-18 13:15:59 +01:00
|
|
|
php_value memory_limit 256M
|
2009-10-02 10:51:30 +02:00
|
|
|
php_value session.gc_maxlifetime 14400
|
|
|
|
php_value upload_max_filesize 64M
|
|
|
|
php_value post_max_size 65M
|
2005-11-14 23:28:50 +01:00
|
|
|
# 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
|
2009-10-02 11:18:18 +02:00
|
|
|
php_value mbstring.func_overload 7
|
2013-03-18 09:15:44 +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!
|