Skip to content

Commit 29d69f3

Browse files
committed
Disable opcache API
By setting non existing path as restrict_api. Fixes #65 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent ddfe8e2 commit 29d69f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/php.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ opcache.save_comments=0
18561856

18571857
; Allows calling OPcache API functions only from PHP scripts which path is
18581858
; started from specified string. The default "" means no restriction
1859-
;opcache.restrict_api=
1859+
opcache.restrict_api=/disabled/
18601860

18611861
; Mapping base of shared memory segments (for Windows only). All the PHP
18621862
; processes have to map shared memory into the same address space. This

0 commit comments

Comments
 (0)