Home  >  Article  >  Backend Development  >  How to install redis extension in php

How to install redis extension in php

WJ
WJOriginal
2020-06-01 16:45:543247browse

How to install redis extension in php

How to install the redis extension in php:

1. Download the redis extension

How to install redis extension in php

How to install redis extension in php

How to install redis extension in php

How to install redis extension in php

2. After downloading, unzip it and move php_redis.dll and php_redis.pdb to the php and ext files

How to install redis extension in php

3. In the php configuration file, add extension=php_redis.dll

How to install redis extension in php

4. After adding it, restart the apache server , go to phpinfo to check whether the installation is successful. When you see the picture below, it means the installation is successful

How to install redis extension in php

Related reference:php中文网

The above is the detailed content of How to install redis extension in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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