Skip to content

cdubz/lando-phpcacheadmin

Repository files navigation

Banner

phpCacheAdmin Plugin for Lando

A Lando.dev service plugin for phpCacheAdmin

Requirements

Installation

If the plugins directory doesn't exist, create it:

mkdir -p ~/.lando/plugins

Configuration

You may configure phpCacheAdmin within your Landofile, by setting a service alongside your cache services.

name: phpcacheadmin-1.x-example
recipe: lamp
config:
  webroot: .
services:
  cache1:
    type: redis
  cache2:
    type: memcached
  phpcacheadmin:
    type: phpcacheadmin:1
    hosts:
      - type: redis
        host: cache1
      - type: memcached
        host: cache2

Configuration options

Supported configurations options per host are:

Memcached

  • name: The server name for an info panel, useful when you have multiple servers added (Optional, default name is Localhost)
  • host: Memcached server host
  • port: Memcached server port (Optional, default is 11211)

Redis

  • name: The server name for an info panel, useful when you have multiple servers added (Optional, default name is Localhost)
  • host: Redis server host
  • port: Redis server port (Optional, default is 6379)
  • database: Redis database (Optional, default is 0)
  • password: Redis database (Optional, empty by default)