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.
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
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
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.
Latest posts by Parvez (see all)
- Part 1: AngularJS Interview Questions And Answers - August 31, 2015
- Best PHP Framework for 2015 – PHP MVC Framework Trends - August 23, 2015
- Introduction of DooPHP Framework - August 21, 2015