diff --git a/php/content.md b/php/content.md index 21b11b5cc..d97244e1d 100644 --- a/php/content.md +++ b/php/content.md @@ -168,7 +168,6 @@ FROM %%IMAGE%%:7.4-fpm-alpine # Use the default production configuration RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" - -# Override with custom opcache settings -COPY config/opcache.ini $PHP_INI_DIR/conf.d/ ``` + +In many production environments, it is also recommended to (build and) enable the PHP core OPcache extension for performance. See [the upstream OPcache documentation](https://www.php.net/manual/en/book.opcache.php) for more details.