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

Skip to main content

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 75,544 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 98,107 views tags: package pear php

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

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 120,762 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 78,533 views tags: dedicated vps yum

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

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

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

How to install NginX for reverse proxy and web performance enhancing.
Knowledgebase Article 90,633 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 147,884 views tags: assign dedicated server ssl whm

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

How to install a Minecraft Server.
Knowledgebase Article 88,399 views tags: Minecraft dedicated vps

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.