Installing the Redis extensions installation and the issues you may encounter

Source: Internet
Author: User

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

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.