Home>Article>Backend Development> Tutorial on how to add redis extension in phpstudy (picture and text)

Tutorial on how to add redis extension in phpstudy (picture and text)

不言
不言 forward
2019-02-18 14:40:57 13142browse

This article brings you a tutorial (picture and text) on how to add redis extension to phpstudy. It has certain reference value. Friends in need can refer to it. I hope It will help you.

Recommended manualRedis command operation Chinese manual

Operating system windows;

Directly post the steps to record

1. Highlight the key points, run phpinfo(), and observe the fourth line x86. Okay, remember this x86

Tutorial on how to add redis extension in phpstudy (picture and text)

3. http://pecl. php.net/package/redis php official redis extension download address;

What I need is version 3.1

Tutorial on how to add redis extension in phpstudy (picture and text)

I remembered it before x86 Of course not everyone is x86. Find your php version according to your own situation. I use 7.0, and then choose the download of nts whose mantissa is x86;
Tutorial on how to add redis extension in phpstudy (picture and text)4. Download and decompress, then php_redis.dll php_redis.pdb These two files are moved to php->php7.0-nts->ext;

5. Then modify the php.ini file

6. Save----Restart phpstudy! Check phpinfo to search redis and it will be ok if you check it!

Tutorial on how to add redis extension in phpstudy (picture and text)

Recommended related articles:

1.
Basic method of operating Redis with PHP 2.
PHP installation redis extension
Related video recommendations: 1.
Dugu Jiujian(4)_PHP video tutorial

The above is the detailed content of Tutorial on how to add redis extension in phpstudy (picture and text). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete