Get the precompiled TS dll from here (In the comments posted on this page, you will find a link to php_apc.dll without memprotect). Save it in your php “ext” directory.
Add the following line to your php.ini file :
extension=php_apc.dllRestart apache web server..browse your phpinfo page, and it should have a section for APC – The defaults work fine for a test server setup.
Next, setup the admin page – this will help you view/clear your variable cache(s):
- Download apc.php from here
- Save it in your webfolder as apc.php
- Edit apc.php. Change the admin password (from the default ‘password’ to any string of your liking):
defaults(‘ADMIN_USERNAME’,'apc’); // Admin Username
defaults(‘ADMIN_PASSWORD’,'pAssW0rd’); // Admin Password – CHANGE THIS TO ENABLE!!!
- Navigate to http://localhost/apc.php and you should see a nicely formatted page displaying the status of your cache.