Install And configure APC on Linux Server

APC is a caching mechanism which transfer overload from processor to the memory. If your server experience high processor overload? Then APC caching is the best solutions. APC will save  complied PHP script code on memory so that everything compilation of php code is not required.


  1. Install APC package(enter this code on terminal)
    • sudo apt-get install php-apc
  2. Restart Apache Web server
    • sudo /etc/init.d/apache2 restart(not work for ubuntu 8.5 or lower)
  3. Install APC cache monitoring file
    • wget -O apc.php to www folder http://localhost/apc.php 





Leave a Reply

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