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
- Advanced key management with native CRUD operations
- Seamless data import and export functionality
- Full compatibility with Strings, Hashes, Lists, Sets, and Sorted Sets
- Interactive Slowlog inspector for performance debugging
- Native Redis Cluster topology support
- Secure connections via ACL (Access Control List)
- Performance-optimized key retrieval using SCAN engine
- Quick toggle between multiple configured instances
- Instant database switching
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
- Direct data manipulation (Create, Read, Update, Delete)
- Reliable key export and import features
- 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
OPCache
Requires OPcache extension
- Live RAM consumption graphs
- Examine individually compiled PHP scripts
- Force-invalidate specific files on demand
- Compiler optimization suggestions
- Visual hit/miss execution metrics
APCu
Requires APCu extension
- Complete shared memory overview
- Success rate charting
- Inspect and edit user-cached variables
- 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
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.
Updating? Replace the files and delete the /tmp/twig folder to clear precompiled templates.
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/phpcacheadmin Install via Composer
Seamlessly integrate the dashboard into your existing PHP application or framework.
composer require robinn/phpcacheadmin Embed in your application
// Copy config file from the vendor folder or GitHub.
// Set config path
\RobiNN\Pca\Config::setConfigPath(__DIR__.'/pca.php');
// Render dashboard
echo (new \RobiNN\Pca\Admin())->render(false); 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.
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.
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. You must enable authentication in the configuration file or secure the dashboard behind your own security layer (such as a reverse proxy). Additionally, it supports Redis ACL 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.