APC (Alternative PHP Cache) come with a nice script (apc.php) that will sort and show you the memory usage and hit ratio of pages cached into APC memory. Do these easy steps to set this up on your Web server.
Copy the script from APC folder into a vHost on your Web server (this example assume your vHost DocumentRoot is /var/www/html) :
cp /usr/share/php-pecl-apc/apc.php /var/www/html
(I would recommend you place it to a non-public vHost protected with a “htaccess” password)
Edit “apc.php” file default username and password :
defaults('ADMIN_USERNAME','apc'); // Admin Username defaults('ADMIN_PASSWORD','password'); // Admin Password - CHANGE THIS TO ENABLE!!!
(edit and replace the ‘password’ value to enable the Admin access – username ‘apc’ can be optionally changed as well)
Then just browse to the “apc.php” script :
http://vHost.domain.tld/apc.php