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.

compiler_version


Step1 : 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′

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

Step3 : We will restart wamp or machine.

Step4 : Enabled APC module from PHP Extension list.
enable_apc

Step5 : paste the below configuration parameter into C:wampbinapacheApache2.2.17binphp.ini file

1
2
3
4
5
6
[APC]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat = 1

Step6 : Restart the wamp server or Machine.

Step7 : Open php info file of wamp server.

http://localhost/?phpinfo=1

apc_installed
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 4 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

4 thoughts on “How to install APC cache on Wamp

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>