Turn on Redis extensions (Windows)
1. The Redis service is installed locally and the service is started
2. Download the Php_redis.dll file
3.php.ini loading the extension file Extension=php_redis.dll
4. Restart Apache. See Phpinfo to see if Redis has been successfully installed
5. Perform Redis-related operations
Congratulations on completing the installation if it goes well.
Next, I install the problem, the above steps have been completed, view phpinfo.
1.redis not loaded
2.Apache Restart completion error, as if Php5_xx.dll is missing. I don't remember much.
Problem solving
1. If you install the PHP environment is integrated, and is a multi-version of PHP, please check whether the php.ini file and you are now using the version is consistent, such as: Default Environment 5.3, you modify the 5.4 configuration file.
2. Before downloading the Php_redis.dll file, first view the following two parameters via Phpinfo
COMPILER:MSVC11 (Visual C + + 2012)//compilation environment
Architecture:x86//May be PHP version number of bits
Download the corresponding Redis.dll based on these two parameter information
Re-download the corresponding file, restart apache,ok! The second problem seems to be due to the version issue, the resolution version of the problem, the problem 2 will no longer error occurred.
If you have any questions, please correct them!
Installing the Redis extensions installation and the issues you may encounter