Install redis server and client
5 minute read 09 Jun 2016

This guide will run you trough the process of installing redis server and PHP client extension


To install Redis cache you need:

  • access to the web server (either RDP for Windows or SSH for Linux)

Installing on Windows

  • PHP redis client:

    Locate the latest stable compiled dll at

    You must use the dll compatible with the PHP version installed in IIS.

    This dll must be placed under the “ext” folder located in the PHP installation directory.

    This should be easily enabled later on in PHP Manager section of IIS under enable/disable extensions section.

  • redis server:

    Install the latest 2.x release located at using defaults.

    Create a folder called redisheap under C:\redisheap.

    Edit the file located at “C:\Program Files\Redis\” and add the following lines:

    maxheap 1024M
    heapdir C:\\redisheap

    Go to Local Services and restart the redis Windows service.

    Verify that the server is working correctly by running the following command:

    C:\Program Files\Redis>redis-cli -h ping
    C:\Program Files\Redis>