Installing redis and phpredis in centos6.4
Jul 25, 2016 am 08:57 AM
2. Configuration
Note: Add vm.overcommit_memory=1 to the end of the sysctl.conf file3. Start testing
4. Turn on the computer
Change file permissions:
Add startup:
and then restart the server, $ service redis status to check whether it is configured correctly Next, we will introduce the installation and configuration methods of phpredis. 2. phpredis 1. Download and decompress by yourself https://github.com/nicolasff/phpredis/archive/master.zip 2. Installation
Note: The path is modified according to the actual situation 3.php extension $ gedit /usr/local/php/etc/php.ini Add extension=redis.so, and then restart php-fpm (non-nginx) 4.Test
3. phpredisadmin http://down.admin5.com/php/75024.html Just download and unzip it to the www directory. It is provided here for everyone. It is best not to use the latest official version. You will understand the reason after using it. |

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel

Build a React App With a Laravel Back End: Part 2, React

Simplified HTTP Response Mocking in Laravel Tests

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

12 Best PHP Chat Scripts on CodeCanyon
