Redis is no longer supported in Windows, but the version
3.2.1is still available to use (ref), so that's why laragon contain version
3.*only. If you want to taste the latest redis version, using Docker through Laradock would be an alternative.
If you right-click on the dashboard & check on
PHP > Extensions, you will not find redis extension because it doesn't come up with Laragon by default. So you have to add it manually, but yet it so easy.
Go to https://pecl.php.net/package/redis and find the right match your current PHP version but also use the latest stable available. In my case, it was version
5.3.4 at the moment and it supports PHP
Windows icon DLL link to get the available distribution for the version. Download the archive that match with your PHP version. You might be confuse which one between Non-Thread-Safe (NTS) and Thread-Safe (TS) should you pick to download. To find out, just check on your Laragon dashboard and see the php version along with NTS or TS indication.
On the downloaded archive, you should find the
copy or move the file to the
C:\laragon\bin\php\php-7.4.19-Win32-vc15-x64\ext (change to your own path), and then add the line
extension=php_redis.dll to the
php.ini filewas generated after a version of php in laragon was run for the first time.
If you installed the full laragon, redis is availabe in this path
C:\laragon\bin\redis\redis-x64-3.2.100 (change to your own path). To run the redis server, you can use Command Prompt to execute the
And you can also stop it later using
Ctrl + C.
The phpRedisAdmin also available in the full laragon installation and can be accessed at http://localhost/redis