diff --git a/user_guide_src/source/installation/deployment.rst b/user_guide_src/source/installation/deployment.rst index 7ba01e95ba61..4c11bd98e456 100644 --- a/user_guide_src/source/installation/deployment.rst +++ b/user_guide_src/source/installation/deployment.rst @@ -77,11 +77,11 @@ in memory by reading the files specified in ``opcache.preload``. Configuration ------------- -Open ``php.ini`` or ``xx-opcache.ini`` if you have split INI configuration in PHP, and recommendation set ``opcache.preload=/path/to/preload.php`` and ``opcache.preload_user=myuser``. +Open ``php.ini`` or ``xx-opcache.ini`` if you have split INI configuration in PHP, and recommend to set ``opcache.preload=/path/to/preload.php`` and ``opcache.preload_user=myuser``. -.. note:: ``myuser`` is user running in your web server +.. note:: ``myuser`` is user running in your web server. If you want find location split INI configuration, just run ``php --ini`` or open file ``phpinfo()`` and search *Additional .ini files parsed*. -Make sure you use appstater installation, If using manual installation you must change directory in include path. +Make sure you use the appstater installation. If using manual installation, you must change the directory in ``include`` path. .. literalinclude:: preloading/001.php diff --git a/user_guide_src/source/installation/preloading/001.php b/user_guide_src/source/installation/preloading/001.php index dbb56e235fc4..059c6d846613 100644 --- a/user_guide_src/source/installation/preloading/001.php +++ b/user_guide_src/source/installation/preloading/001.php @@ -9,7 +9,7 @@ class preload */ private array $paths = [ [ - 'include' => __DIR__ . '/system', // <== in this + 'include' => __DIR__ . '/system', // <== change this line to where CI is installed // ... ], ];