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 speed up such a website up to three times. PHP websites are dynamic and every time a website visitor accesses a page, the script hooks up to a database in order to get some content, and then the code is parsed and compiled before it is displayed to the website visitor. In case the output code doesn't change however, which is the case with sites which show identical content all of the time, these actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database does not need to be accessed and the code does not have to be parsed and compiled continuously, that consequently decreases the Internet site loading time. The module can be pretty useful for informational websites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You can use APC with every single hosting
plan that we provide since it is already set up on our advanced cloud platform and activating it will take you only a couple of clicks inside your Hepsia Control Panel. Since our system is really flexible, you'll be able to run sites with various system requirements and decide whether they will use APC or not. For instance, you could allow APC only for one version of PHP or you could do this for several of the versions that run on the platform. It's also possible to decide if all Internet sites working with a certain PHP version will use APC or whether the latter will be enabled just for selected websites and not for all websites in the website hosting account. The last option is useful if you need to employ a different web accelerator for some of your sites. These customizations are carried out without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our semi-dedicated server
plans and activating the framework is performed with a click in the Hepsia Control Panel, so even if you don't have any prior experience, you could use it to quicken your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you will have freedom regarding the scripts and web accelerators you can employ. It will take you only a click to allow APC for one or a couple of PHP versions 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'll be able to set what PHP release will be used and whether APC needs to be enabled or not. In this way, one Internet site can use APC and PHP 5.3, for example, and another one can use some different accelerator and PHP 5.5.