Skip to content

Commit

Permalink
chore: remove deprecated session ini options
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Feb 15, 2025
1 parent 003fb9e commit 450b4a5
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions src/php/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,6 @@ session.use_cookies = 1
; http://php.net/session.cookie-secure
session.cookie_secure = true

; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating
; session hijacking when not specifying and managing your own session id. It is
; not the be-all and end-all of session hijacking defense, but it's a good start.
; http://php.net/session.use-only-cookies
session.use_only_cookies = 1

; Name of the session (used as cookie name).
; http://php.net/session.name
session.name = PHPSESSID
Expand Down Expand Up @@ -444,39 +437,6 @@ session.cache_limiter = nocache
; http://php.net/session.cache-expire
session.cache_expire = 180

; Set session ID character length. This value could be between 22 to 256.
; Shorter length than default is supported only for compatibility reason.
; Users should use 32 or more chars.
; http://php.net/session.sid-length
; Default Value: 32
; Development Value: 26
; Production Value: 26
session.sid_length = 42

; The URL rewriter will look for URLs in a defined set of HTML tags.
; <form> is special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs. <form> tag's action attribute URL will not be modified
; unless it is specified.
; Note that all valid entries require a "=", even if no value follows.
; Default Value: "a=href,area=href,frame=src,form="
; Development Value: "a=href,area=href,frame=src,form="
; Production Value: "a=href,area=href,frame=src,form="
; http://php.net/url-rewriter.tags
session.trans_sid_tags = "a=href,area=href,frame=src,form="

; Define how many bits are stored in each character when converting
; the binary hash data to something readable.
; Possible values:
; 4 (4 bits: 0-9, a-f)
; 5 (5 bits: 0-9, a-v)
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
; Default Value: 4
; Development Value: 5
; Production Value: 5
; http://php.net/session.hash-bits-per-character
session.sid_bits_per_character = 5

[Assertion]
; Switch whether to compile assertions at all (to have no overhead at run-time)
; -1: Do not compile at all
Expand Down

0 comments on commit 450b4a5

Please sign in to comment.