-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphp.ini
executable file
·59 lines (48 loc) · 1.18 KB
/
php.ini
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
;
; Some of the recommended php.ini configuration options for JarisCMS.
;
;Allow <? ?> php tags
short_open_tag = On
;Disable automatic escaping.
magic_quotes_gpc = off
;To extend sessions upto 5 hours
session.gc_maxlifetime = 18000
;Errors
error_reporting = E_ALL & ~E_NOTICE
display_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
error_log = error_log
;Suggested extensions
;extensions windows
;extension=php_pdo.dll
;extension=php_pdo_sqlite.dll
;extension=php_sqlite.dll
;extension=php_gd2.dll
;extensions on linux
;extension=pdo.so
;extension=pdo_sqlite.so
;extension=sqlite.so
;extension=gd2.so
;disable safemode to be able to set execution time for cron jobs
safe_mode = off
;file uploads
file_uploads = On
upload_max_filesize = 100M
post_max_size = 102M
;to support handling huge images
memory_limit = 256M
date.timezone="UTC"
;Opcache recommended settings
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.save_comments=0
opcache.enable_file_override=1