APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. When a PHP webpage is accessed, the script pulls the content that should be displayed from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for sites with constantly changing content, it is a complete waste of processing time and system resources for a website that does not change, like an informational portal which shows the exact same content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them whenever a user loads them. As this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load significantly quicker. APC is really helpful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Hosting

You can use APC for your web applications with all of the hosting plans that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it'll begin caching the code of your software apps. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you'll be able to activate APC for several releases of PHP for the whole account and choose the version that each website will use, or you can have the same version of PHP, but activate or deactivate APC only for specified Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is available with all semi-dedicated hosting solutions as it is pre-installed on the cloud website hosting platform where your account shall be created. If you wish to use this module, you will be able to activate it with just a single click in your Hepsia Control Panel and it'll be fully functional in a few minutes. Since you may need to use alternative web accelerators for selected websites, our cutting-edge platform will permit you to customize the software environment inside your account. You will be able to activate APC for different releases of PHP or use it just for some sites and not for others. For instance, a Drupal-based site can function with APC employing PHP 5.4 and a WordPress website could work without APC using PHP 5.6. All it takes to do the aforementioned is a php.ini file with a couple of lines in it, so you can run sites with various requirements inside the very same account.