Skip to content

Commit 6e39555

Browse files
committed
Disable opcache.use_cwd
All scripts are executed in single working directory, so it should not cause any harm and according to documentation it should perform better. Issue #98 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 29d69f3 commit 6e39555

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
@@ -1786,7 +1786,7 @@ opcache.enable=1
17861786
; directory to the script key, thus eliminating possible collisions between
17871787
; files with the same name (basename). Disabling the directive improves
17881788
; performance, but may break existing applications.
1789-
;opcache.use_cwd=1
1789+
opcache.use_cwd=0
17901790

17911791
; When disabled, you must reset the OPcache manually or restart the
17921792
; webserver for changes to the filesystem to take effect.

0 commit comments

Comments
 (0)