Servers & Services > Redis

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.

MAMP PRO - Servers & Services - Redis

In the upper right corner of this screen you will find information about which version of the Redis server is used and which port is used.

  • Include Redis server in GroupStart
    Activate this checkbox if you want the Redis server to start and stop automatically when the Start/Stop button in the toolbar is clicked. The Redis PHP extension is automatically included when this option is enabled.

  • Allow network access to Redis
    Select this checkbox if you want to access the Redis server over the network. Otherwise, you cannot access your Redis server over the network, not even from other locally installed programs.

    • only from this Mac
      Only programs installed on this Mac can access Redis via network functions.

    • from other computers
      Redis will answer any network request, even from computers on the internet, depending on you network settings.

  • Interactive Redis session

    • Start a new Terminal window
      A click on this button opens the command line interface of the Redis server in the terminal app of macOS. If this happens for the first time, a dialog box from macOS informs you that MAMP PRO would like to use the terminal app and asks whether you agree to this.

      MAMP PRO - Servers & Services - Redis - Start a new Terminal window (question)

    • Flush cache
      Click this button to empty the cache.

    • Live Statistic
      By clicking on this button a live statistic is displayed.

      MAMP PRO - Servers & Services - Redis - Live Statistics

  • Maximum speed

    • Disable database compression and checksum
      Your data is kept in memory by the Redis server. The data is saved automatically from time to time or manually into a file on the hard disk. By default the data is compressed and a CRC64 checksum is generated (for higher data integrity). If you activate the checkbox, the data is not compressed and the checksum is set to 0. When such a file is read in, the contents are not checked in combination with the checksum.

  • Log level

    Select here how much information should be written to the log of Redis. The following options are available:

    Name Description
    Warning only very important / critical messages are logged
    Notice moderately verbose, what you want in production probably
    Verbose many rarely useful info, but not a mess like the debug level
    Debug a lot of information, useful for development/testing
  • Path to Redis log file
    The path to your Redis log file. This log file is located at “/Applications/MAMP PRO/logs/redis_error.log”.

Additional information