background : The use of Redis soon, used to be lazy, debugging when you like to use the mouse directly, do not like to always knock commands, Redis the client seems to be very little, find a PHP version of the Internet, feel very practical, after several twists and ends, finally in the MacOS mounted.
Function Introduction :
1. Add or subtract multiple Redis instances (need to be manipulated from the background profile)
2. Change and check data
3. Import Export Data
4. Monitoring server Several statistics (limited)
Installation steps:
Mac with Apache and PHP modules, so using phpredisadmin in addition to the need to install a Phpredis module accident, do not need to install other things, a little bit of local configuration of the environment can be.
1. Installation Phpredis module , official address Https://github.com/nicolasff/phpredis, the steps in the official website wrote very detailed, here skip, installed after the installation directory under the modules directory has a re dis.so files.
2. Configure the Apache PHP module
Find/etc/apache2/httpd.conf files via finder, remove
"#LoadModule php5_module libexec/apache2/libphp5.so"
Before the #, save the modified file
3. Configure PHP Load Redis module
Find/etc/php.ini file, add extension=redis.so
Then copy the redis.so generated in step one to Extension_dir and let PHP find the file yourself
4. Install Phpredisadmin
Website Download: https://github.com/ErikDubbelboer/phpRedisAdmin/
After decompression, put in the Apache application directory, the default is/library/webserver/documents/
5. Start Apache , there are two ways to start
1 Open System settings preferences-> sharing-> Web sharing check
2 command line sudo apachect start
6. Start the local Redis, access localhost/your installation directory on it, if there is no local redis, the first access may error, because the default configuration is to connect the local Redis 6379 port
7. Functional configuration : In the Phpredisadmin directory has a config.inc.php file, which holds the connection Redis instance of the relevant configuration information, if you need to increase or decrease the connection instance, need to modify this file from the background, Because the author did not write this part of the interface ...--"