Install Redis Graphics client on Mac OS phpredisadmin

Source: Internet
Author: User
Tags apache php redis install redis

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



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.