VPS or Dedicated Hosting - Installing PHP APC
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
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 171,814 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 191,932 views tags: package pear php

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

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 199,673 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 131,994 views tags: dedicated vps yum

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

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

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

If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
Knowledgebase Article 87,930 views tags: backup cpanel dedicated hosting restore server transfer vps

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

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

How to install a Minecraft Server.
Knowledgebase Article 162,677 views tags: Minecraft dedicated 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