Skip to content

Commit

Permalink
enable opcache in php.ini, enable php apcu and opcache extensions in …
Browse files Browse the repository at this point in the history
…all magento versions
  • Loading branch information
ejnshtein committed May 10, 2022
1 parent f3cfb74 commit c8861ad
Show file tree
Hide file tree
Showing 29 changed files with 116 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ ldap.max_links = -1

[opcache]
; Determines if Zend OPCache is enabled
; opcache.enable=1
opcache.enable=1

; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=0
Expand All @@ -1838,19 +1838,19 @@ ldap.max_links = -1

; When disabled, you must reset the OPcache manually or restart the
; webserver for changes to the filesystem to take effect.
;opcache.validate_timestamps=1
opcache.validate_timestamps=1

; How often (in seconds) to check file timestamps for changes to the shared
; memory storage allocation. ("1" means validate once per second, but only
; once per request. "0" means always validate)
;opcache.revalidate_freq=2
opcache.revalidate_freq=2

; Enables or disables file search in include_path optimization
;opcache.revalidate_path=0

; If disabled, all PHPDoc comments are dropped from the code to reduce the
; size of the optimized code.
; opcache.save_comments=1
opcache.save_comments=1

; If enabled, compilation warnings (including notices and deprecations) will
; be recorded and replayed each time a file is included. Otherwise, compilation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ module.exports = ({ templateDir } = {}) => ({
libsodium,
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = ({ templateDir } = {}) => ({
SimpleXML: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.2'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ module.exports = ({ templateDir } = {}) => ({
xdebug: {
version: '3.1.2'
},
apcu: {}
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
nginx: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = ({ templateDir } = {}) => ({
fileinfo: {},
xdebug: {
version: '3.1.4'
},
apcu: {},
opcache: {
extensionName: 'Zend OPcache'
}
}
},
Expand Down

0 comments on commit c8861ad

Please sign in to comment.