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 can speed up such a site as much as three times. PHP websites are dynamic and any time a website visitor accesses a page, the script links to a database to get some content, then the code is parsed and compiled before it's shown to the guest. In case the output code does not change however, that is the case with sites which display the very same content at all times, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse an Internet site, so the database does not need to be accessed and the code does not have to be parsed and compiled repeatedly, which consequently lowers the Internet site loading time. The module can be quite efficient for informational sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with every single shared web hosting package that we offer because it's already set up on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is really flexible, you can run websites with different requirements and decide if they will use APC or not. For example, you can enable APC only for one release of PHP or you could do this for several of the releases running on the platform. In addition, you can decide if all Internet sites working with a given PHP version will use APC or whether the latter will be enabled only for selected sites and not for all Internet sites in the website hosting account. The aforementioned option is useful when you would like to employ a different web accelerator for several of your sites. These customizations are done with ease by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with our semi-dedicated hosting plans and activating the framework is done with a click in the Hepsia Control Panel, so even when you don't have any prior experience, you'll be able to use it in order to boost your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to use. It will take you just a click to enable APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC has to be allowed or not. This way, one Internet site could use APC and PHP 5.3, for instance, whereas another one can use another accelerator and PHP 5.5.