Skip to content

Commit 27aca05

Browse files
authored
Merge pull request redis-developer#444 from TPXP/patch-1
Update the PHP Redis documentation page
2 parents 52fac49 + fd32cc0 commit 27aca05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/develop/php/index-php.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: index-php
33
title: PHPRedis - Redis client library for PHP
4-
sidebar_label: Php
4+
sidebar_label: PHP
55
slug: /develop/php/
66
authors: [ajeet]
77
---
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
1111
import useBaseUrl from '@docusaurus/useBaseUrl';
1212
import RedisCard from '@site/src/theme/RedisCard';
1313

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.
1515

1616
### Getting Started
1717

@@ -56,7 +56,7 @@ pecl install redis
5656

5757
### Step 4. Opening a Connection to Redis Using PhpRedis
5858

59-
The following code creates a connection to Redis using Phpredis
59+
The following code creates a connection to Redis using PhpRedis
6060

6161
```php
6262
<?php
@@ -67,7 +67,7 @@ $redis->connect('hostname', port);
6767
$redis->auth('password');
6868

6969
if ($redis->ping()) {
70-
echo "PONGn";
70+
echo "PONG";
7171
}
7272

7373
?>
@@ -91,7 +91,7 @@ OK
9191

9292
### Further Reference:
9393

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/)
9595
- [PHP extension for Redis based on Hiredis](https://github.com/nrk/phpiredis)
9696
- [Redis distributed locks in PHP](https://github.com/ronnylt/redlock-php)
9797
- [Support for Redis Cluster](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#redis-cluster)

0 commit comments

Comments
 (0)