Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and could boost such an Internet site as much as 3 times. PHP sites are dynamic and every time a user accesses a page, the script hooks up to a database in order to get some content, then the code is parsed and compiled before it's shown to the website visitor. If the output code does not change however, which is the case with sites which show the same content all of the time, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database does not have to be accessed and the code doesn't need to be parsed and compiled over and over again, that consequently reduces the site loading time. The module can be really efficient for informational Internet sites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Shared Hosting
You can employ APC for your web applications with any of the shared hosting
plans that we offer as it's pre-installed on our cloud web hosting platform. Activating it will take just a mouse click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it'll start caching the program code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the entire account and choose the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified websites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server
packages since it is pre-installed on the cloud website hosting platform where your account shall be created. If you would like to use this module, you will be able to enable it with a single click from your Hepsia Control Panel and it will be fully functional within a couple of minutes. Since you may need to use alternative web accelerators for selected sites, our advanced platform will permit you to personalize the software environment in your account. You can activate APC for different releases of PHP or use it only for some sites and not for others. For instance, a Drupal™
-based Internet site can work with APC using PHP 5.4 and a WordPress site could work without APC using PHP 5.6. What is needed to do that is a php.ini file with several lines in it, so you'll be able to run Internet sites with various requirements from the very same account.