Windows
The Redis project does not officially support Windows. However, the Microsoft Open Technologies group develops and maintains a Redis build for Windows 64-bit. See Figure 1.
The Redis project does not officially support Windows. However, the Microsoft Open Technologies group develops and maintains a Redis build for Windows 64-bit.
2. By clicking Learn more, the URL links to: https://github.com/MSOpenTech/redis
As prompted, you can download the latest binaries at http://github.com/MSOpenTech/redis/releases. See Figure 2.
As prompted, you can download the latest binaries at http://github.com/MSOpenTech/redis/releases
3. Download the latest version of the binary: Redis-x64-2.8.2104.msi
In step 6: Add the Redis installation folder to the PATH environment variable
In step 7: Add an exception to the Windows Firewall
Download the latest version of the binary: Redis-x64-2.8.2104.msi
The installation steps are as follows:
Installation step 1Installation step 2, agree to the corresponding license agreementInstallation step 3, add the Redis installation folder to the PATH environment variableInstallation step 4, add an exception to the Windows FirewallInstallation step 5Installation step 6View Redis in the services list of the Task Manager
4. Install the Redis extension for PHP
Download php_redis.dll from the official PHP website
Download php_redis.dll from the official PHP websiteDownload the thread-safe version for 5.4Copy the php_redis.dll file to the ext directory of the PHP installation directoryConfigure and enable the Redis extension in the php.ini fileCheck if Redis exists in phpinfo
5. Install the phpRedisAdmin client: https://github.com/ErikDubbelboer/phpRedisAdmin
Execute: php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin phpRedisAdmin
An error occurs, as shown in Figure 16:
Warning: This development build of composer is over 60 days old. It is recommend
ed to update it by running “composer.phar self-update” to get the latest version
Execute: php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin phpRedisAdmin
6. Execute: composer.phar self-update to download the latest version of composer.phar. See Figure 17.
Execute: composer.phar self-update to download the latest version of composer.phar
7. Clear the files inside phpRedisAdmin, then execute again: php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin phpRedisAdmin. See Figures 18 and 19.
Figure 17: Clear the files inside phpRedisAdminExecute again: php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin phpRedisAdmin, as shown in Figure 19
8. Open: http://localhost/phpredisadmin/, and you will find that the installation was successful.
Open: http://localhost/phpredisadmin/, and you will find that the installation was successful
8. Install the Redis Desktop Manager client: http://redisdesktop.com/download
Download the Windows version. See Figure 20.
Install the Redis Desktop Manager client: http://redisdesktop.com/download Download the Windows version, as shown in Figure 20Redis Desktop Manager installation step 1Redis Desktop Manager installation step 2Redis Desktop Manager installation step 3Redis Desktop Manager installation step 5Redis Desktop Manager installation step 6Redis Desktop Manager running interface