Windows php5.5 Installing the Redis extension

Source: Internet
Author: User
Tags phpinfo redis version

Redis is now more popular NoSQL, mainstream large sites are used more, many students do not know how to install, here is introduced in Windows installation and extension, provide learning to use, the actual use of the environment more under Linux.

1.phpinfo () to view the PHP version.

2. Download the corresponding Redis version of PHP:

Php_redis-2.2.5-5.5-ts-vc11-x64.zip, for: http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/

Php_igbinary-1.2.1-5.5-ts-vc11-x64.zip, for: HTTP://WINDOWS.PHP.NET/DOWNLOADS/PECL/RELEASES/IGBINARY/1.2.1/

3. After decompression, copy the Php_redis.dll and Php_igbinary.dll to the PHP ext directory (the PHP path for the WAMP integrated environment is: c:\wamp\bin\php\php5.5.12\ext)

4. Modify the PHP path under PHP.ini, that is, C:\wamp\bin\php\php5.5.12\php.ini, (note: Many blog requests to modify is C:\wamp\bin\apache\apache2.4.9\bin\php.ini ) Include in the document:

; Php_redis

Extension=php_igbinary.dll

Extension=php_redis.dll

5. After restarting Apache, use Phpinfo to see if the extension was installed successfully. After a successful installation appears:

6. Testing

Windows php5.5 Installing the Redis extension

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.