Update docs for PHP Opcache use (#1717)
* Update docs for PHP Opcache use * Make the Opcache mention even more concise
This commit is contained in:
parent
406267e7d1
commit
5b34dbbedd
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue