Skip to content

Improve OPcache settings #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2018
Merged

Improve OPcache settings #24

merged 1 commit into from
Jun 26, 2018

Conversation

ajardin
Copy link
Contributor

@ajardin ajardin commented Jun 25, 2018

opcache.memory_consumption is present on the Symfony documentation while opcache.interned_strings_buffer should be upgraded also as the default value is quite low.

@bigfoot90
Copy link

Also disable file timestamps if in production environment
http://symfony.com/doc/current/performance.html#don-t-check-php-files-timestamps

@ajardin
Copy link
Contributor Author

ajardin commented Jun 25, 2018

@bigfoot90 I was also tempted to go further, but adding that parameter implies to manually update the PHP configuration on development environments.
The solution could be to maintain two configuration files in parallel.

@dunglas dunglas merged commit d8dc263 into dunglas:master Jun 26, 2018
@dunglas
Copy link
Owner

dunglas commented Jun 26, 2018

Thanks @ajardin! We'll be glad to merge the same changes in API Platform https://github.com/api-platform/api-platform/blob/master/api/docker/php/php.ini

VitaliyMinenko pushed a commit to VitaliyMinenko/notofication-service that referenced this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants