How to install APC cache on WAMP Server(Windows) and XAMPP

This tutorial described how to install APC cache module on your php environment (WAMP).First we insure about our version of APC cache which is based on compiler version.We will learn how to install APC Cache on WAMP and XAMPP server in windows. APC is a great op-code caching system for PHP that can help speed up your website. APC help to bypass the parsing and compiling steps and minimizes web request to the server.

Also checkout other tutorial of PHP Cache,

There are two type APC versions.

1- VC6
2- VC9

If your php compiler version is “Compiler: MSVC6 (Visual C++ 6.0)” ,Then we need to APC VC6 version Otherwise APC VC9 version.We will check compiler version from phpinfo file of wamp server.


Step 1 : We will download require version of php_apc.dll file from here
As per my compiler I was downloaded ‘APC 3.1.6 for PHP 5.3 vc6’

Step 2 : We will paste this dll into c: /wamp/bin/php/ext/ folder.

Step 3 : We will restart wamp or machine.

Step 4 : Enabled APC module from PHP Extension list.

Step 5 : paste the below configuration parameter into C:\wamp\bin\apache\Apache2.2.17\bin\php.ini file

Step 6 : Restart the wamp server or Machine.

Step 7 : Open php info file of wamp server.
If we will find APC module configuration into php info file then everything is ok and installed otherwise something is wrong.

How to Install APC Cache on XAMPP

You can follow below steps to install APC cache on XAMPP server. XAMPP is also commonly use by developer for PHP development so i am here sharing steps to install APC cache on xampp.

Step 1: Put the .dll(which you have downloaded from above step) file into php/ext folder.
Step 2: Open php.ini configuration file and find 'extension : php_apc.dll', if you not found then add this line otherwise remove the semi-colon before the extension.
Step 2: Restart the Xampp server check the phpinfo() and search apc if its found thats mean APC Successfully installed on your server.

IN this tutorial, We have learn about installation of APC cache on WAMP and XAMPP server.I hope its help you and feel free to post your suggestions and questions into comment section.

  • Michael

    You have a typo in your HTML which prevents the link to the file FYI


    Direct link:

  • Way cool! Some very valid points! I appreciate you penning this
    article and the rest of the site is really good.

  • Joleen

    ңi there! I simply want to offer you a huge thumbѕ up for your great info you
    have here on this post.

  • Dann

    Everything is very open wiith a clear explanation of the challenges.
    It was really informative.Your website iss extremely helpful.
    Thank you for sharing!

  • corresponding Samsung

    Good blog post. I definitely love this site. Continue the good work!

  • Toy Fox Terriers

    Very nice reading. I’ve been looking for
    the same things.
    Good luck and thanks for the great read.


    Great post.