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

不言
Release: 2023-04-05 10:14:02
forward
13188 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!