File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
id : index-php
3
3
title : PHPRedis - Redis client library for PHP
4
- sidebar_label : Php
4
+ sidebar_label : PHP
5
5
slug : /develop/php/
6
6
authors : [ajeet]
7
7
---
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
11
11
import useBaseUrl from ' @docusaurus/useBaseUrl' ;
12
12
import RedisCard from ' @site/src/theme/RedisCard' ;
13
13
14
- Find tutorials, examples and technical articles that will help you to develop with Redis and Php .
14
+ Find tutorials, examples and technical articles that will help you to develop with Redis and PHP .
15
15
16
16
### Getting Started
17
17
@@ -56,7 +56,7 @@ pecl install redis
56
56
57
57
### Step 4. Opening a Connection to Redis Using PhpRedis
58
58
59
- The following code creates a connection to Redis using Phpredis
59
+ The following code creates a connection to Redis using PhpRedis
60
60
61
61
``` php
62
62
<?php
@@ -67,7 +67,7 @@ $redis->connect('hostname', port);
67
67
$redis->auth('password');
68
68
69
69
if ($redis->ping()) {
70
- echo "PONGn ";
70
+ echo "PONG ";
71
71
}
72
72
73
73
?>
91
91
92
92
### Further Reference:
93
93
94
- - [ Getting Started with Redis & Php ] ( https://github.com/redis-developer/redis-php-getting-started/ )
94
+ - [ Getting Started with Redis & PHP ] ( https://github.com/redis-developer/redis-php-getting-started/ )
95
95
- [ PHP extension for Redis based on Hiredis] ( https://github.com/nrk/phpiredis )
96
96
- [ Redis distributed locks in PHP] ( https://github.com/ronnylt/redlock-php )
97
97
- [ Support for Redis Cluster] ( https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#redis-cluster )
You can’t perform that action at this time.
0 commit comments