当前位置:网站首页>Installing redis and windows extension method under win system
Installing redis and windows extension method under win system
2022-07-07 06:34:00 【Rookie No.1 mmmm】
One 、 see php Version related information
adopt phpinfo() The function view php Version related information , This operation is used to determine the choice redis Which extended version .
phpinfo();
Find the following 2 Parameters :
Parameters :Architecture value :x86
Parameters :PHP Extension Build value :API20170718,NTS,VC15
As shown in the figure :
Two 、 download php Of redis Expand
Get into PHP Official Expansion page , Download the appropriate redis Expand
1、PHP Official extension address :http://pecl.php.net/
2、 In the top right corner of the page Search for Enter... In the search box redis Enter search
3、 In the search results list Search results in
The corresponding address is as follows :http://pecl.php.net/package-search.php?pkg_name=redis
Click on redis Enter the extended details page
4、 You will see the version number of the following words , namely :alpha, beta, stable
stable Stable version , Final release
beta Open beta version ,alpha Version of the upgrade
alpha Internal test version
The corresponding address is as follows :http://pecl.php.net/package/redis
Here we choose the latest stable version , namely :5.3.2 stable 2020-10-22 released , Click on DLL Go to download page 
5、 According to the parameters provided in the first step , Here we choose (NTS) x86 Version extension
The corresponding address is as follows :http://pecl.php.net/package/redis/5.3.2/windows
Such as , Click on :7.2 Non Thread Safe (NTS) x86 You can download it. 
6、 In the downloaded compressed package , You'll find a file :php_redis.dll
Copy this file to PHP Of ext Under the table of contents 
3、 ... and 、 modify php.ini The configuration file , And restart the server
1、 modify php.ini file , hold php_redis.dll Files added to php The configuration of , as follows :
extension=php_redis.dll
2、 Restart the server , Make the newly added redis Extension takes effect
3、 Back again phpinfo() Page view , Will find php Of redis The extension has been installed 
Many cases on the Internet end at this step , But it was found that the program could not run , So let's look down
Four 、 install redis Server side
1、 The download address is as follows :
Releases · microsoftarchive/redis · GitHub
Here we download Redis-x64-xxx.zip Compress package to D disc redis Under the folder .
2、 After downloading , For example, store it in :D:\ruanjian\Redis-x64-3.0.504/ Under the table of contents , Unpacking a compressed package , Directory as follows :
3、 double-click redis-server.exe On the server side redis It works , The effect is as follows :
It should be noted that , This window cannot be closed , Once closed, the program will not run .
4、 Run it again php Code , Discovery has been successfully implemented .
5、 ... and 、 Set up Windows Next redis Boot up
1、 Shortcut key Window Winkey +R key , open “ function ” Program .
2、 function , open : Input compmgmt.msc Knock back .
3, Services and Applications - service
4,Redis The status is displayed as start ,
I hope this document can be useful to you !!!
边栏推荐
- Unable to debug screen program with serial port
- 隐马尔科夫模型(HMM)学习笔记
- Abnova 膜蛋白脂蛋白体技术及类别展示
- MySQL的安装
- MySQL installation
- The difference between string constants and string objects when allocating memory
- 基于FPGA的VGA协议实现
- Shared memory for interprocess communication
- Learning notes | data Xiaobai uses dataease to make a large data screen
- c语言面试写一个函数在字符串N中查找第一次出现子串M的位置。
猜你喜欢

Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!

面试中有哪些经典的数据库问题?
![[SOC FPGA] custom IP PWM breathing lamp](/img/4b/5053137cf95e851ca89057e9b9c15c.jpg)
[SOC FPGA] custom IP PWM breathing lamp

dolphinscheduler3.x本地启动

项目实战 五 拟合直线 获得中线

哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!

拼多多败诉:“砍价免费拿”侵犯知情权但不构成欺诈,被判赔400元

ICML 2022 | explore the best architecture and training method of language model

LM11丨重构K线构建择时交易策略

Handling hardfault in RT thread
随机推荐
Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
项目实战 五 拟合直线 获得中线
Abnova 体外转录 mRNA工作流程和加帽方法介绍
C interview encryption program: input plaintext by keyboard, convert it into ciphertext through encryption program and output it to the screen.
JMeter's own functions are not enough? Why don't you develop one yourself
Which foreign language periodicals are famous in geology?
学习笔记|数据小白使用DataEase制作数据大屏
Leite smart home longhaiqi: from professional dimming to full house intelligence, 20 years of focus on professional achievements
拼多多败诉:“砍价免费拿”侵犯知情权但不构成欺诈,被判赔400元
Postgresql中procedure支持事务语法(实例&分析)
UIC(组态UI工程)公版文件库新增7款行业素材
Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!
Redis (I) -- getting to know redis for the first time
当前发布的SKU(销售规格)信息中包含疑似与宝贝无关的字
rt-thread 中对 hardfault 的处理
360 Zhiyu released 7.0 new products to create an exclusive "unified digital workspace" for the party, government and army, and central and state-owned enterprises
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
UIC (configuration UI Engineering) public file library adds 7 industry materials
Redis (II) - redis General Command
Redis(二)—Redis通用命令