mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Fix README.
[ci skip]
This commit is contained in:
@@ -94,7 +94,7 @@ the parameters must use the `unix` scheme and specify a path for the socket file
|
||||
|
||||
```php
|
||||
$client = new Predis\Client(['scheme' => 'unix', 'path' => '/path/to/redis.sock']);
|
||||
$client = new Predis\Client('unix:/path/to/redis.sock');
|
||||
$client = new Predis\Client('unix:///path/to/redis.sock');
|
||||
```
|
||||
|
||||
The connection schemes [`redis`](http://www.iana.org/assignments/uri-schemes/prov/redis) (alias of
|
||||
|
||||
Reference in New Issue
Block a user