Windows Environment Installation Redis client Phpredisadmin
Recently, using Redis as a session store in a Tomcat cluster also stores some data with high traffic.
In the process of debugging, you need to look at the data cached in Redis, the default client is more troublesome, and finally found that phpredisadmin is a good thing.
You only need to install the Redis extension for PHP, but it is important to note that the version number of PHP corresponds to the version of the compiler (VC6 or Vc9 or VC11).
Download address for the PHP redis extension: https://github.com/nicolasff/phpredis/downloads
Download file: phpredis_5.4_vc9_nts.7z
Unzip all PHP files into the d:/tools/php directory and copy the Redis extension's two files to the D:/tools/php/ext directory
Modify the configuration file PHP.ini add the following two lines:
Extension=php_igbinary.dll
Extension=php_redis.dll
"Note" Order to load Php_igbinary.dll First, this is not a lot of reasons for the unsuccessful configuration.
Run Phpinfo () to see the following information stating that it has been successful:
Redis
Redis support = Enabled
Redis Version = 2.2.2
Configure the Nginx FastCGI mode to run PHP:
# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
Location ~ \.php$ {
Root D:/web;
Fastcgi_pass 127.0.0.1:9000;
Fastcgi_index index.php;
Fastcgi_param script_filename $document _root$fastcgi_script_name;
Include Fastcgi_params;
}
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.