phpCacheAdmin
                                
                                 phpCacheAdmin copied to clipboard
                                
                                    phpCacheAdmin copied to clipboard
                            
                            
                            
                        A web dashboard for your favorite caching system.
A web dashboard for your favorite caching system.
|  |  | 
|  |  | 
 
Server tab (default)
Installation
Simply extract the content. Optional but highly recommended, run composer install before use.
If you need to customize or add servers in the configuration file, do not edit config.dist.php directly,
copy config.dist.php to config.php instead.
Updating
Replace all files and delete the cache folder.
Note
Cachefolder contains optimized Twig templates for faster page loading. However, when changes are made to the Twig files, the cache will not change (unless you havetwigdebugenabled or delete folder).
Docker
https://hub.docker.com/r/robinn/phpcacheadmin
Run with single command:
docker run -p 8080:80 -d --name phpcacheadmin -e "PCA_REDIS_0_HOST=redis_host" -e "PCA_REDIS_0_PORT=6379" -e "PCA_MEMCACHED_0_HOST=memcached_host" -e "PCA_MEMCACHED_0_PORT=11211" robinn/phpcacheadmin
Or simply use it in docker-compose.yml
version: '3'
services:
  phpcacheadmin:
    image: robinn/phpcacheadmin
    ports:
      - "8080:80"
    environment:
      - PCA_REDIS_0_HOST=redis
      - PCA_REDIS_0_PORT=6379
      - PCA_MEMCACHED_0_HOST=memcached
      - PCA_MEMCACHED_0_PORT=11211
    links:
      - redis
      - memcached
  redis:
    image: redis
  memcached:
    image: memcached
Note
It is not required to have both Redis and Memcached.
Environment variables
Redis:
- PCA_REDIS_0_NAMEThe server name for an info panel. Optional, default: Localhost.
- PCA_REDIS_0_HOSTRedis server host.
- PCA_REDIS_0_PORTRedis server port. Optional, default: 6379.
- PCA_REDIS_0_DATABASERedis database. Optional, default: 0.
- PCA_REDIS_0_PASSWORDRedis password. Optional, default: empty.
Memcached:
- PCA_MEMCACHED_0_NAMEThe server name for an info panel. Optional, default: Localhost.
- PCA_MEMCACHED_0_HOSTMemcached server host.
- PCA_MEMCACHED_0_PORTMemcached server port. Optional, default: 11211.
To add another server, add the same environment variables, but change 0 to 1 (2 for third server and so on).
Requirements
- PHP >= 7.4
- redis, memcache(d), opcache or apcu php extensions (if none of them is installed, only the Server tab will be available)
Development
For compiling Tailwind CSS run npm install and then
npm run build or npm run watch for auto-compiling.