summaryrefslogtreecommitdiff
path: root/conf/templates/php.ini.template.in
blob: 1f685607b519e6354cc82008fe08df883edc21d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
KOLAB_META_START
TARGET=@phpini_dir@/php.ini
PERMISSIONS=0640
OWNERSHIP=@webserver_musr@:@webserver_grp@
KOLAB_META_END
;;
;;  php.ini -- PHP Configuration
;;

[PHP]

;   Resource Limits
register_globals   = off    ; Global variables are no longer registered for input data
safe_mode          = off    ; Enable Safe Mode (file UID comparisons)
safe_mode_gid      = off    ; Whether to relax Safe Mode to file GID comparisons
allow_url_fopen    = on     ; Disable the opening of remote URLs
display_errors     = off    ; Errors will NOT be displayed
log_errors         = on     ; Errors will be logged
max_execution_time = 120    ; Maximum execution time of each script, in seconds
max_input_time     = 60     ; Maximum amount of time each script may spend parsing request data
memory_limit       = 64M    ; Maximum amount of memory a script may consume
post_max_size      = 8M     ; Maximum amount of POST data accepted

error_reporting    = E_ALL
error_log          = @webserver_logdir@/php/php-errors.log
upload_tmp_dir     = @webserver_tmpdir@

;   Include Paths
;include_path          = ".:/kolab/lib/php"
include_path          = ".:@phplibdir@:@phplibdir2@:@phppeardir@"
safe_mode_include_dir = "/kolab/lib/php"

[Session]
session.save_path = @webserver_sessions@