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 172,174 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 192,547 views tags: package pear php

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

This is a tutorial on how to install Git onto the server.
Knowledgebase Article 200,083 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 132,339 views tags: dedicated vps yum

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

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

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

How to install NginX for reverse proxy and web performance enhancing.
Knowledgebase Article 153,239 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 88,457 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,550 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 260,282 views tags: assign dedicated server ssl whm

** 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.