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
- Log in to the SSH terminal.
-
Type
sudo pecl install apc
and press enter. - 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
share
tags: caching dedicated pecl vps
Share or save this via:
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.
How to install Java in a dedicated server.
This is a tutorial on how to install Git onto the server.
Related Help Content
How to use the yum package mnager to install and update applications and programs.
How to install and configure the WP Super Cache plugin for your WordPress blog
How to install and configure the W3 Total Cache WordPress Plugin
How to install NginX for reverse proxy and web performance enhancing.
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
To help with installing an SSL certificate for an account on a dedicated server through the WHM
How to install a Minecraft Server.