Wednesday, November 16, 2022

How to Set Up a Redis Server And Use With PHP

Here is the article.

How To Enable Redis Extension In Xampp

We can enable redis PHP extension by following steps:

  • Download php_redis.dll file from PECL libs. Download the extension as per your current PHP version.
  • Copy the php_redis.dll and paste it to the following folder in XAMPP Server extension directory(D:\XAMPP\php\ext).
  • Open the php.ini file and add extension=php_redis.dll line to this file.
  • Restart XAMPP server
  • Open phpinfo() of XAMPP server and search Redis, if found that means you successfully integrated Redis with PHP.

No comments:

Post a Comment