Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 0069cfd

Browse files
authored
Merge pull request #9184 from #9184
[Imported] remove preceding `$` from opcache config examples
2 parents 061890a + 20c3dab commit 0069cfd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/guides/v2.4/performance-best-practices/software.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,19 @@ realpath_cache_ttl=7200
7676

7777
To get maximum speed out of Magento 2 on PHP 7, you must activate the OpCache module and properly configure it. These settings are recommended for the module:
7878

79-
```bash
80-
opcache.memory_consumption=512MB
81-
opcache.max_accelerated_files=60000
82-
opcache.consistency_checks=0
83-
opcache.validate_timestamps=0
84-
opcache.enable_cli=1
79+
```text
80+
opcache.memory_consumption=512MB
81+
opcache.max_accelerated_files=60000
82+
opcache.consistency_checks=0
83+
opcache.validate_timestamps=0
84+
opcache.enable_cli=1
8585
```
8686

8787
When you fine-tune the memory allocation for opcache, take into account the size of Magento’s code base and all your extensions. Magento’s performance team uses the values in the preceding example for testing because it provides enough space in opcache for the average number of installed extensions.
8888

8989
If you have a low-memory machine and you do not have many extensions or customizations installed, use the following settings to get a similar result:
9090

91-
```bash
91+
```text
9292
opcache.memory_consumption=64
9393
opcache.max_accelerated_files=60000
9494
```

0 commit comments

Comments
 (0)