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 can accelerate such an Internet site up to three times. PHP websites are dynamic and any time a visitor opens some web page, the script links to a database in order to get some content, after that the code is parsed and compiled before it's shown to the visitor. In case the output code doesn't change however, that is the case with sites that show the very same content at all times, these actions trigger needless reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse a website, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled over and over again, that consequently reduces the site loading time. The module could be rather helpful for informational websites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Hosting

You can use APC with every single hosting package that we offer as it is already present on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. As our system is rather flexible, you'll be able to run sites with various system requirements and decide if they will work with APC or not. For instance, you can enable APC only for one release of PHP or you can do this for several of the versions running on the platform. It's also possible to choose if all sites working with a given PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all Internet sites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for several of your websites. These customizations are done effortlessly by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for every script application which runs on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if needed, you could use the module only for particular sites. This is possible due to the versatility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to choose what version will be used for this particular website and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you may take advantage of a different type of web accelerator.