How to install APC cache on Wamp

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.

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

apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat = 1

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.

The following two tabs change content below.
Hi, This is Parvez Alam from India. I am software developer with 6 years’ experience in web development. I have submitted articles on PHP, Mysql, Magento,CSS, HTML, jQuery, web designing and social API. You can subscribe to my blog via RSS/Twitter/Google plus and Facebook. parvez1487(at)gmail(dot)com

8 thoughts on “How to install APC cache on Wamp

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

Leave a Reply

Your email address will not be published. Required fields are marked *