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.
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.
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.
Step5 : paste the below configuration parameter into C:\wamp\bin\apache\Apache2.2.17\bin\php.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.