-
Couldn't load subscription status.
- Fork 102
Added instructions for phpredis #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -134,7 +134,23 @@ and then append `extension=memcached.so` to `/usr/local/php7/etc/conf.d/modules. | |
|
|
||
| # Memcached | ||
| extension=memcached.so | ||
|
|
||
| ## Installing Redis Extension | ||
|
|
||
| $ git clone https://github.com/phpredis/phpredis.git | ||
| $ cd phpredis | ||
| $ git checkout php7 | ||
| $ phpize | ||
| $ ./configure | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This requires There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think so yes |
||
| $ make && make install | ||
| $ cd .. | ||
| $ rm -rf phpredis | ||
|
|
||
| And then activate phpredis | ||
|
|
||
| $ echo "extension=redis.so" > /etc/php/mods-available/redis.ini && \ | ||
| $ ln -sf /etc/php/mods-available/redis.ini /etc/php/7.0/fpm/conf.d/20-redis.ini && \ | ||
| $ ln -sf /etc/php/mods-available/redis.ini /etc/php/7.0/cli/conf.d/20-redis.ini | ||
|
|
||
| ## Credits | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this should be
/usr/local/php7/bin/phpize, I think.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends if php7-debug is installed by your package