Skip to content

Instantly share code, notes, and snippets.

@ezequiel9
Created July 26, 2018 01:23
Show Gist options
  • Save ezequiel9/4f1305c5daf42d34503cb13093664f73 to your computer and use it in GitHub Desktop.
Save ezequiel9/4f1305c5daf42d34503cb13093664f73 to your computer and use it in GitHub Desktop.
Install Redis on Windows 10, PHP 7+
Install Redis extension on your pc
Download the CORRECT version the DDL from the following link
https://pecl.php.net/package/redis/4.1.0/windows
Put the dll in the correct folder
Wamp -> C:\wamp\bin\php\php-XXXX\ext
Laragon -> C:\laragon\bin\php\php-XXX\ext
Edit the php.ini file adding
extension=php_redis.dll
Restart server and check phpinfo(); . Now Redis should be there!
@Samimi-Information-Technology

For XAMPP Version 3.3.0 with PHP Version 8.2.12 with Apache 2.0 Handler, you will need the thread safe version.

Download Link:

(https://pecl.php.net/package/redis/6.0.2/windows)

Get the marked TS version:

Screenshot:

image

Then copy the dll to this directory:

Screenshot:

image

Then edit the php.ini adding this line:

extension=redis

Screenshot:

image

Save and restart your XAMPP Apache server.

Screenshot:

Check php info and redis must be shown now as below.

image

@Success-Guy
Copy link

Thank you @Samimi-Information-Technology for the info.

@amirtavakolian
Copy link

thank you @Samimi-Information-Technology for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment