APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites store their content inside a database that is accessed whenever a visitor loads a webpage. The content that has to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. These actions need some processing time and involve reading and writing on the server for every single page which is opened. While this cannot be avoided for sites with constantly changing content, there're numerous Internet sites that feature the exact same content on many of their pages at all times - blogs, info portals, hotel and restaurant sites, etc. APC is exceptionally useful for this kind of Internet sites since it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. Not only will this decrease the server load, but it will also boost the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each shared hosting plan that we provide since it's already present on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. As our system is quite flexible, you can run websites with different system requirements and decide whether they will use APC or not. For instance, you could activate APC only for a single release of PHP or you can do this for several of the versions that run on our platform. In addition, you can decide if all websites working with a specific PHP version will use APC or whether the latter will be active only for selected Internet sites and not for all websites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for some of your Internet sites. These customizations are done effortlessly through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application that is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click inside the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to choose what release will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you could take advantage of APC for some scripts where the module can make a difference and not for others where you can use some other kind of web accelerator.