Skip to content

Commit

Permalink
document open_basedir and realpath cache coupling in php.ini
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
wbob authored and nikic committed Jan 14, 2019
1 parent 3ad0ebd commit 5ac9990
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions php.ini-development
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ serialize_precision = -1
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
; Note: disables the realpath cache
; http://php.net/open-basedir
;open_basedir =

Expand Down Expand Up @@ -332,6 +333,7 @@ disable_classes =
; Determines the size of the realpath cache to be used by PHP. This value should
; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed.
; Note: if open_basedir is set, the cache is disabled
; http://php.net/realpath-cache-size
;realpath_cache_size = 4096k

Expand Down
2 changes: 2 additions & 0 deletions php.ini-production
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ serialize_precision = -1
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
; Note: disables the realpath cache
; http://php.net/open-basedir
;open_basedir =

Expand Down Expand Up @@ -337,6 +338,7 @@ disable_classes =
; Determines the size of the realpath cache to be used by PHP. This value should
; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed.
; Note: if open_basedir is set, the cache is disabled
; http://php.net/realpath-cache-size
;realpath_cache_size = 4096k

Expand Down

0 comments on commit 5ac9990

Please sign in to comment.