Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very efficient for scripts with large source code and could boost such a website up to three times. PHP sites are dynamic and any time a user accesses some page, the script links to a database to retrieve some content, then the code is parsed and compiled before it is shown to the website visitor. In case the output code doesn't change however, that's the case with sites which show identical content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a site, so the database does not have to be accessed and the program code does not have to be parsed and compiled over and over again, that in turn minimizes the Internet site loading time. The module can be rather effective for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with each shared web hosting package that we provide since it's already set up on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. As our platform is extremely flexible, you'll be able to run sites with different system requirements and decide whether they will use APC or not. For instance, you can activate APC only for a single release of PHP or you can do this for several of the releases running on the platform. It's also possible to choose if all Internet sites using a certain PHP version will use APC or whether the latter will be active only for selected websites and not for all websites in the hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for some of your Internet sites. These customizations are performed without difficulty 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 this framework is done with a mouse click inside the Hepsia Control Panel, so even if you have no previous experience, you can use it in order to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to employ. It will take you just a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account in general, you'll be able to set what PHP release will be used and whether APC needs to be enabled or not. This way, one Internet site may use APC and PHP 5.3, for instance, while another one can use a different accelerator and PHP 5.5.