Home >Backend Development >PHP Problem >How to install redis extension in php
How to install the redis extension in php:
1. Download the redis extension
2. After downloading, unzip it and move php_redis.dll and php_redis.pdb to the php and ext files
3. In the php configuration file, add extension=php_redis.dll
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
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!