APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that could speed up a database-driven Internet site several times. Every time a PHP web page is accessed, the script pulls the site content which needs to be displayed from a database, parses and compiles the code, then the result is displayed to the site visitor. While this is necessary for Internet sites with constantly changing content, it's a total waste of processing time and resources for a site that does not change, for example an informational portal that displays the very same content all the time. When the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the website will load much quicker. APC is very useful especially for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to use APC for your web applications with all of the shared hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Activating it will take just a click in the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll begin caching the code of your apps. Our platform is quite flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the whole account and select the version that each site can use, or you can have the exact same version of PHP, but enable or disable APC only for specified Internet sites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is available with all semi-dedicated server plans since it's pre-installed on the cloud hosting platform where your account will be created. In case you want to use this module, you can enable it with a single click from your Hepsia Control Panel and it will be fully operational within a few minutes. Since you may need to use other web accelerators for selected websites, our state-of-the-art platform will allow you to personalize the software environment inside your account. You can activate APC for different releases of PHP or use it only for some Internet sites and not for others. For example, a Drupal-based website could work with APC using PHP 5.4 and a WordPress website can work without APC using PHP 5.6. What is needed to do the aforementioned is a php.ini file with several lines in it, so you'll be able to run Internet sites with various requirements in the same account.