You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ Table of contents
10
10
=================
11
11
12
12
1. Installing/Configuring
13
-
*[Installing/Configuring](#installingconfiguring)
14
-
*[Install on OSX](#install-on-osx)
15
-
*[PHP Session handler](#php-session-handler)
13
+
1.[Installation](#installation)
14
+
1.[Installation on OSX](#installation-on-osx)
15
+
1.[PHP Session handler](#php-session-handler)
16
16
1. Usage
17
17
* Connection
18
18
* Server
@@ -28,6 +28,13 @@ Table of contents
28
28
Installing/Configuring
29
29
======================
30
30
31
+
1.[Installation](#installation)
32
+
1.[Installation on OSX](#installation-on-osx)
33
+
1.[PHP Session handler](#php-session-handler)
34
+
35
+
36
+
Installation
37
+
------------
31
38
<pre>
32
39
phpize
33
40
./configure [--enable-redis-igbinary]
@@ -41,8 +48,8 @@ You can generate a debian package for PHP5, accessible from Apache 2 by running
41
48
42
49
This extension exports a single class, `Redis` (and `RedisException` used in case of errors). Check out https://github.com/ukko/phpredis-phpdoc for a PHP stub that you can use in your IDE for code completion.
43
50
44
-
Install on OSX
45
-
==============
51
+
Installation on OSX
52
+
-------------------
46
53
47
54
If the install fails on OSX, type the following commands in your shell before trying again:
48
55
<pre>
@@ -61,7 +68,7 @@ Taken from [Compiling phpredis on Zend Server CE/OSX ](http://www.tumblr.com/tag
61
68
See also: [Install Redis & PHP Extension PHPRedis with Macports](http://www.lecloud.net/post/3378834922/install-redis-php-extension-phpredis-with-macports).
62
69
63
70
PHP Session handler
64
-
===================
71
+
-------------------
65
72
66
73
phpredis can be used to store PHP sessions. To do this, configure `session.save_handler` and `session.save_path` in your php.ini to tell phpredis where to store the sessions:
0 commit comments