The Modern GUI for Redis, Memcached, OPCache & APCu
Stop switching between outdated, unmaintained tools. phpCacheAdmin is a blazing-fast, single dashboard that unifies your entire caching layer. Visualize metrics, manage keys, and optimize server performance through one sleek interface.
All-in-One Solution
Why maintain separate installations of phpRedisAdmin, opcache-gui, and Memcached dashboards? phpCacheAdmin brings everything under one roof, saving you configuration time and server resources.
Built for Modern Stacks
Fully compatible with PHP 8.2+ environments. Choose the installation method that fits your needs—run it as a standalone application, deploy it instantly via Docker, or integrate it using Composer.
Enterprise Ready
Designed to handle complex setups including Redis Clusters and Access Control Lists (ACL). Securely monitor multiple remote servers directly from your centralized command center.
Supported Cache Systems
Explore the deep integration capabilities for each caching backend.
Redis Dashboard
Minimum version 4.0 · Phpredis extension or Predis (bundled)
- Comprehensive server telemetry and health monitoring
- Deep metrics tracking: Fragmentation, Memory, Hit/Miss ratio
- Live metrics that keep refreshing while the dashboard is open
- Health checks for memory, hit rate, evictions, clients, persistence and replication
- Advanced key management with native CRUD operations
- Search inside a key — hash fields, set, list and sorted set members
- Per-field hash TTLs (Redis 7.4) shown and editable in the key view
- Built-in command console to run Redis commands right from the browser
- Seamless data import and export functionality
- Supports every data type, including JSON and Vector Sets (Redis 8)
- Stream consumer groups with consumers, pending entries and lag
- Live command profiler powered by MONITOR
- Keyspace analysis with the key size distribution tracked by Redis 8
- Latency monitor events, per-command percentiles and LATENCY / MEMORY DOCTOR advice
- Interactive Slowlog inspector for performance debugging
- Connected clients with idle time, memory and last command — disconnect any of them
- Real-time Pub/Sub channel monitoring and message publishing
- Native Redis Cluster and Sentinel support
- Secure connections via ACL (Access Control List)
- Works with Valkey and KeyDB
- Performance-optimized key retrieval using SCAN engine
- Quick toggle between multiple configured instances
- Instant database switching
Coming from another Redis GUI? See the full phpRedisAdmin comparison or the Redis Commander comparison.
Memcached Manager
Minimum version 1.4.31 · No PHP extension required (Uses a custom client)
- Live monitoring of server health and uptime
- Visualized analytics for cache hit rates and memory allocation
- Live metrics that keep refreshing while the dashboard is open
- Direct data manipulation (Create, Read, Update, Delete)
- Built-in command console to run Memcached commands right from the browser
- Reliable key export and import features
- Keyspace analysis with item size distribution (servers started with track_sizes)
- Watcher streaming reads, writes, evictions and deletions as they happen
- Open connections with their state and idle time
- Detailed breakdown of Slabs and Items distribution
- Real-time traffic and command execution statistics
- In-depth request distribution profiling
- Effortless navigation across multiple Memcached nodes
Switching from phpMemcachedAdmin? See the full phpMemcachedAdmin vs phpCacheAdmin comparison.
OPCache
Requires OPcache extension
- Live RAM consumption graphs
- Interactive memory map of cached scripts, sized by RAM usage
- Examine individually compiled PHP scripts
- Force-invalidate specific files on demand
- Preloaded files kept in memory for the life of the server
- Directory warmup right after a deployment
- Compiler optimization suggestions
- Visual hit/miss execution metrics
- Automatic health checks
APCu
Requires APCu extension
- Complete shared memory overview
- Success rate charting
- Inspect and edit user-cached variables
- Cache analysis and health checks
- Memory map of every shared segment, block by block
- Namespace and expiry breakdown of cached entries
- Backup cache entries
- Memory fragmentation diagnostics
Realpath
PHP Stat Cache Monitor
- Track stat cache buffer limits
- Audit resolved absolute paths
- Manual cache invalidation
- Symlink resolution viewer
- Directory and file type indicators
- Health checks for cache size, expired entries and TTL
- Warns when open_basedir turns the cache off entirely
Every install also includes a Server dashboard — PHP version and configuration, loaded extensions, phpinfo(), plus CPU, RAM and disk usage of the machine phpCacheAdmin runs on.
Using a standalone OPcache script? See the full opcache-gui vs phpCacheAdmin comparison.
Get Started in Seconds
Choose the installation method that fits your workflow. No complicated dependencies are required.
Unzip & Config
Unzip the folder to your web directory. Optionally copy config.dist.php to config.php, or configure it with environment variables or a .env file.
Updating? Just replace the files — the template cache is cleared automatically when a new version is detected.
Run with a single command
The fastest way to get started. Pulls the lightweight image and exposes the interface on port 8080.
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/phpcacheadminInstall via Composer
Seamlessly integrate the dashboard into your existing PHP application or framework.
composer require robinn/phpcacheadminEmbed in your application
// Copy config.dist.php from the vendor folder and set 'pcapath' & 'url'.
\RobiNN\Pca\Config::setConfigPath(__DIR__.'/phpcacheadmin.config.php');
// Or configure it with a .env file (requires vlucas/phpdotenv).
\RobiNN\Pca\Config::loadDotenv(__DIR__);
// Optional: built-in auth, or secure it behind your own route.
\RobiNN\Pca\Auth::check();
echo (new \RobiNN\Pca\Admin())->render(); Set pcapath (URL the assets are served from) and url (where the dashboard is mounted) in your config. See the embedded example.
Frequently Asked Questions
Is phpCacheAdmin an alternative to phpRedisAdmin and phpMemcachedAdmin?
Yes. It is a modern, actively maintained alternative that replaces both tools. It resolves common issues found in older scripts, such as memory exhaustion crashes, by using the SCAN command instead of KEYS. It also introduces support for Redis Clusters, ACL security, and seamless Docker integration. See how it compares as a phpRedisAdmin alternative or phpMemcachedAdmin alternative.
Is there an alternative to Redis Commander that does not need Node.js?
Yes. Redis Commander runs as a separate Node.js service, while phpCacheAdmin runs on the PHP 8.2+ stack you already have — or from the Docker image. Both handle Redis Cluster, Sentinel, ACL, SCAN, a tree view, an interactive console and a read-only mode; phpCacheAdmin adds a MONITOR profiler, Pub/Sub, Slowlog, latency insights, keyspace analysis, historical metrics and dashboards for Memcached, OPCache and APCu. See the full Redis Commander alternative comparison.
Can I use this to replace opcache-gui?
Absolutely. Instead of hosting a standalone script just for OPCache, phpCacheAdmin provides a comprehensive view of OPCache, APCu, and Realpath cache right alongside your Redis and Memcached instances, all within a single unified dashboard. See the full opcache-gui alternative comparison.
Does phpCacheAdmin require a database?
No external database like MySQL is needed. It communicates directly with your caching servers. Historical metrics are saved locally using PHP's native SQLite3 extension.
Can I manage multiple servers simultaneously?
Yes, you can configure an unlimited number of Redis and Memcached instances in your configuration file and switch between them directly from the navigation bar.
Is it safe to use in a production environment?
Yes, but a proper setup is required. It ships with built-in authentication — define one or more users in the authusers option (username => password) in your config to enable a login screen. Alternatively, secure the dashboard behind your own security layer (such as a reverse proxy or an authenticated route). Additionally, it supports Redis ACL, a read-only mode and configurable SCAN limits to prevent blocking the main Redis thread on large databases.
How do I fix "Fatal error: Allowed memory size exhausted"?
This typically happens when you have millions of keys in Redis and limited PHP RAM, because the tool uses the KEYS command by default. To resolve this, open your configuration file and enable the SCAN command (e.g., set PCA_REDIS_0_SCANSIZE or uncomment scansize in config.php).
Can I collect metrics in the background?
Yes, you can collect historical data even when the dashboard is not open in your browser by setting up a cronjob. Trigger the metrics endpoint for your desired cache periodically, for example: curl -s "https://example.com/?dashboard=redis&server=0&ajax&metrics" > /dev/null. If authentication is enabled, set the authtoken option in your config and append &token=your-secret-token to the URL so the cronjob can run without a login session.