Skip to content

Commit 6926018

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Document opcache.preload_user directive
2 parents cc4af35 + 61dcae5 commit 6926018

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

php.ini-development

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,11 @@ ldap.max_links = -1
18631863
; http://php.net/opcache.preload
18641864
;opcache.preload=
18651865

1866+
; Preloading code as root is not allowed for security reasons. This directive
1867+
; facilitates to let the preloading to be run as another user.
1868+
; http://php.net/opcache.preload_user
1869+
;opcache.preload_user=
1870+
18661871
; Prevents caching files that are less than this number of seconds old. It
18671872
; protects from caching of incompletely updated files. In case all file updates
18681873
; on your site are atomic, you may increase performance by setting it to "0".

php.ini-production

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,6 +1865,11 @@ ldap.max_links = -1
18651865
; http://php.net/opcache.preload
18661866
;opcache.preload=
18671867

1868+
; Preloading code as root is not allowed for security reasons. This directive
1869+
; facilitates to let the preloading to be run as another user.
1870+
; http://php.net/opcache.preload_user
1871+
;opcache.preload_user=
1872+
18681873
; Prevents caching files that are less than this number of seconds old. It
18691874
; protects from caching of incompletely updated files. In case all file updates
18701875
; on your site are atomic, you may increase performance by setting it to "0".

0 commit comments

Comments
 (0)