Skip to content

Commit 038ca4b

Browse files
jsmmonikic
authored andcommitted
Remove hint to security purpose of disable_functions
These features are not intended to offer security against a determined attacher with full local code execution privileges. Closes GH-5150.
1 parent 6295ff7 commit 038ca4b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

php.ini-development

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,12 @@ serialize_precision = -1
306306
; http://php.net/open-basedir
307307
;open_basedir =
308308

309-
; This directive allows you to disable certain functions for security reasons.
309+
; This directive allows you to disable certain functions.
310310
; It receives a comma-delimited list of function names.
311311
; http://php.net/disable-functions
312312
disable_functions =
313313

314-
; This directive allows you to disable certain classes for security reasons.
314+
; This directive allows you to disable certain classes.
315315
; It receives a comma-delimited list of class names.
316316
; http://php.net/disable-classes
317317
disable_classes =

php.ini-production

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,12 @@ serialize_precision = -1
306306
; http://php.net/open-basedir
307307
;open_basedir =
308308

309-
; This directive allows you to disable certain functions for security reasons.
309+
; This directive allows you to disable certain functions.
310310
; It receives a comma-delimited list of function names.
311311
; http://php.net/disable-functions
312312
disable_functions =
313313

314-
; This directive allows you to disable certain classes for security reasons.
314+
; This directive allows you to disable certain classes.
315315
; It receives a comma-delimited list of class names.
316316
; http://php.net/disable-classes
317317
disable_classes =

0 commit comments

Comments
 (0)