Wampserver the extended configuration php redis

Wampserver the extended configuration php redis

1: Related:

Wamp Server, is a powerful PHP integrated installation environment under Windows.

Redis is an open source (BSD license), the data structure stored in the memory system that can be used as a database, cache and messaging middleware. It supports multiple types of data structures, such as  strings (strings) hashes (hashes) list (Lists) the set (sets) ordered collection (sorted sets)  and range queries,  bitmapshyperloglogs  and geospatial ( geospatial)  index radius inquiry. Redis built-in  copy (Replication) , LUA scripting (Lua Scripting) the LRU-driven events (the LRU eviction) , transaction (transactions)  and different levels of  disk persistence (Persistence) , and by  Redis Sentinel (Sentinel) and automatic  partitioning (Cluster ) provides high availability (high availability).

redis Chinese official website: http://www.redis.cn/

2: Installation:

2.1: First you need to install the wampserver. Phpinfo.php then create a new file. A call to phpinfo in the document () function. Then visit phpifo.php check out our php configuration.

<?php
phpinfo();

2.2: Open  Redis extension of official PHP  ( https://windows.php.net/downloads/pecl/releases/redis/ ) directory page, as shown below:

2.3: According to the php version on your computer to download the corresponding zip file, ts nts and expressed thread-safe, apache our use ts (thread-safe), and with nts in the iis. Download the zip file and unzip the file to copy php_redis.dll Wamp Server installation directory corresponding version of php ext folder, and then click Wamp Server icon in the lower right corner in the status bar, found PHP, modify php.ini, new add the following, should pay attention to before and after the order!

extension=php_igbinary.dll
             extension=php_redis.dll

 2.4: Restart all services, access phpinfo.php. ctrl + f search redis. If the node appears in the following figure, then the installation was successful expansion.

 

 

 

Guess you like

Origin blog.csdn.net/qq_41558265/article/details/94592862