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 manual:Redis 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
3. http://pecl. php.net/package/redis php official redis extension download address;
What I need is version 3.1
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;
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! 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!