Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

PHPstudy install redis extension and install redis

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This is the PHP7.20 installed on the Windows system

The first step is to install redis, which is the easiest

Https://github.com/microsoftarchive/redis/releases address to download the latest green version of msi version directly open the redis service, do not need to open manually, each boot will start automatically

Part II, Redis extension of phpstudy

Select the appropriate redis expansion package based on phpinfo () information

Pay attention to x86

Download the https://pecl.php.net/package/redis address of the corresponding extension file

Decompress after download

4. Put the php_redis.dll and php_redis.pdb files of the redis expansion pack in the ext folder

5. Modify the php.ini file to add the following two lines without a semicolon

Extension=php_igbinary.dll

Extension=php_redis.dll

6 restart PHPstudy to view phpinfo

7, do a test based on thinkPHP 5

Complete

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report