Skip to content

Commit 7f60fc6

Browse files
ioannidesalexunknown
authored andcommitted
Add sqlite3 definition class to php.ini
1 parent 27796b0 commit 7f60fc6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/deb/php/php.ini

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,10 @@ syslog.ident = hestia-php
600600
; control characters. If your logger accepts everything, then no filtering
601601
; is needed at all.
602602
; Allowed values are:
603-
; ascii (only base ASCII characters)
604-
; no_ctrl (all characters except control characters)
603+
; ascii (all printable ASCII characters and NL)
604+
; no-ctrl (all characters except control characters)
605605
; all (all characters)
606+
; http://php.net/syslog.filter
606607
;syslog.filter = ascii
607608

608609
;windows.show_crt_warning
@@ -1011,8 +1012,19 @@ date.timezone = UTC
10111012
;intl.use_exceptions = 0
10121013

10131014
[sqlite3]
1015+
; Directory pointing to SQLite3 extensions
1016+
; http://php.net/sqlite3.extension-dir
10141017
;sqlite3.extension_dir =
10151018

1019+
; SQLite defensive mode flag (only available from SQLite 3.26+)
1020+
; When the defensive flag is enabled, language features that allow ordinary
1021+
; SQL to deliberately corrupt the database file are disabled. This forbids
1022+
; writing directly to the schema, shadow tables (eg. FTS data tables), or
1023+
; the sqlite_dbpage virtual table.
1024+
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
1025+
; (for older SQLite versions, this flag has no use)
1026+
sqlite3.defensive = 1
1027+
10161028
[Pcre]
10171029
; PCRE library backtracking limit.
10181030
; http://php.net/pcre.backtrack-limit

0 commit comments

Comments
 (0)