File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,6 +242,18 @@ There are many configuration options for this package.
242242Please refer to [ Predis configuration page] [ 6 ] .
243243
244244
245+ ### Shared Memory (shmop)
246+
247+ Requires a [ PHP shmop extension] [ 11 ] .
248+
249+ ``` php
250+ $cache = simple_cache_factory('shmop', [
251+ 'dir' => '/path/to/app/cache', // optional
252+ 'ttl' => null, // global TTL
253+ ]);
254+ ```
255+
256+
245257### FileConfiguration
246258
247259This is the slowest cache client, please avoid it for production environments.
@@ -281,4 +293,5 @@ The code is distributed under the terms of [The 3-Clause BSD license](LICENSE).
281293[ 7 ] : https://github.com/phpredis/phpredis#connect-open
282294[ 8 ] : http://php.net/sys_get_temp_dir
283295[ 9 ] : http://php.net/json_encode
284- [ 10 ] : https://www.php-fig.org/psr/psr-16/
296+ [ 10 ] : https://www.php-fig.org/psr/psr-16/
297+ [ 11 ] : https://www.php.net/manual/en/book.shmop.php
You can’t perform that action at this time.
0 commit comments