directus / v8-archive

Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
https://docs.directus.io/api/reference.html
505 stars 204 forks source link

Enable OpCache #2154

Open thueske opened 4 years ago

thueske commented 4 years ago

Any ideas for enabling opcache in the default docker images?

mvhirsch commented 4 years ago

@WoLfulus any thought on this? Should we just do:

echo "opcache.enable=1" >> /usr/local/etc/php/conf.d/docker-php-custom.ini

mvhirsch commented 4 years ago

Okay, just saw the opcache php module is currently not installed in latest docker image.

WoLfulus commented 4 years ago

I'll check if we can enable it by default in future releases, or have a way to easily enable it through env.