Just Host Web Hosting Help

VPS or Dedicated Hosting - Installing PHP APC

If you would like to improve the caching optimization of your PHP site, you may want to install Alternative PHP Cache (APC).

You will need both to use SSH access and have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so.

Installing APC

  1. Log in to the SSH terminal.
  2. Type sudo pecl install apc and press enter.
  3. Once that is installed make a PHP information page in your public_html folder to see that it is enabled.

    For more information about creating a phpinfo page please see the article PHP information page.

Any changes or adjustments that you would need to do to APC you would do in the php.ini file. To learn more about Alternative PHP Cache go to the PHP APC Manual.

Knowledgebase Article 65,456 views bookmark tags: caching dedicated pecl vps


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will show how to view which PECL packages are alredy installed, as well as show you how to install additional package.
Knowledgebase Article 83,208 views tags: package pear php

How to install Java in a dedicated server.
Knowledgebase Article 85,228 views tags: dedicated install java server yum

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 107,265 views tags: dedicated git install server yum

Related Help Content

How to use the yum package mnager to install and update applications and programs.
Knowledgebase Article 68,277 views tags: dedicated vps yum

How to create a package on your Reseller account.
Getting Started Article 98,399 views tags: add hosting limit package reseller

How to install and configure the WP Super Cache plugin for your wordpress blog
Knowledgebase Article 50,190 views tags: cache wordpress

How to install and configure the W3 Total Cache WordPress Plugin
Knowledgebase Article 43,465 views tags: cache wordpress

How to install NginX for reverse proxy and web performance enhancing.
Knowledgebase Article 78,205 views tags: dedicated nginx proxy reverse vps

To help with installing an SSL certificate for an account on a dedicated server through the WHM
Knowledgebase Article 132,894 views tags: assign dedicated server ssl whm

How to manage the SSL used for cPanel login through the WHM
Knowledgebase Article 104,659 views tags: cpanel dedicated install login manage server ssl

How to install a Minecraft Server.
Knowledgebase Article 70,820 views tags: Minecraft dedicated vps