Skip to content

Allow enabling opcache on CLI and enable this + tune magento2#463

Merged
kierenevans merged 2 commits intomasterfrom
feature/allow-enabling-opcache-on-cli
Feb 13, 2018
Merged

Allow enabling opcache on CLI and enable this + tune magento2#463
kierenevans merged 2 commits intomasterfrom
feature/allow-enabling-opcache-on-cli

Conversation

@kierenevans
Copy link
Copy Markdown
Collaborator

Magento recommend enabling opcache on the CLI in production.

Increased settings based on http://devdocs.magento.com/guides/v2.2/config-guide/prod/prod_perf-optimize.html
PHP_OPCACHE_MAX_ACCELERATED_FILES for Magento2 has been rounded to the next biggest prime number as per https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files

@kierenevans kierenevans merged commit 9f59d63 into master Feb 13, 2018
@kierenevans kierenevans deleted the feature/allow-enabling-opcache-on-cli branch February 13, 2018 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants