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


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.
enable_apc

Step 5 : 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

Step 6 : Restart the wamp server or Machine.

Step 7 : 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 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
  • Michael

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

    to
    here

    thanks
    Direct link:
    http://dev.freshsite.pl/php-accelerators/apc.html

    • http://phpflow.com Parvez

      Thanks Michael

  • http://tinyurl.com/flukemegohmeter157760239 dead laptop

    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.

  • largefloormirror.wordpress.com

    Great post.