Skip to main content

HostMonster 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 71,092 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 92,281 views tags: package pear php

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

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 115,507 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 74,071 views tags: dedicated vps yum

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

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

How to install NginX for reverse proxy and web performance enhancing.
Knowledgebase Article 85,696 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 142,615 views tags: assign dedicated server ssl whm

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

How to install a Minecraft Server.
Knowledgebase Article 82,394 views tags: Minecraft dedicated vps

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account
Knowledgebase Article 95,835 views tags: dedicated passenger redmine ruby vps

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here