Jelajahi Sumber

Update docs for PHP Opcache use (#1717)

* Update docs for PHP Opcache use

* Make the Opcache mention even more concise
Jan Domański 5 tahun lalu
induk
melakukan
5b34dbbedd
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      php/content.md

+ 2 - 3
php/content.md

@@ -168,7 +168,6 @@ FROM %%IMAGE%%:7.4-fpm-alpine
 
 
 # Use the default production configuration
 # Use the default production configuration
 RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 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.