APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven Internet site several times. Each time a PHP webpage is opened, the script pulls the content that has to be shown from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for Internet sites with regularly changing content, it's a complete waste of processing time and system resources for a site that doesn't change, like an informational portal that shows the exact same content on a regular basis. Once the webpages for such a website are compiled, APC caches them and delivers them every time a website visitor accesses them. As this saves the time to request content from the database and to parse and compile the code, the website will load considerably quicker. APC is really helpful particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web apps with all of the cloud hosting packages that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll begin caching the code of your software apps. Our platform is very flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you can activate APC for several versions of PHP for the entire account and set the version that each Internet site will use, or you can have the same version of PHP, but activate or deactivate APC just for specified websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is provided with all semi-dedicated hosting packages because it is pre-installed on the cloud website hosting platform where your account will be created. In case you'd like to use this module, you will be able to activate it with just a single click from your Hepsia Control Panel and it'll be fully operational in a couple of minutes. As you may want to use other web accelerators for selected Internet sites, our advanced platform will enable you to personalize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it just for some sites and not for others. For instance, a Drupal-based Internet site can function with APC employing 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 could run Internet sites with various requirements in the exact same account.