APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can boost a database-driven Internet site several times. When a PHP page is accessed, the script pulls the content that should be displayed from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for sites with routinely changing content, it is a complete waste of processing time and resources for a site which does not change, like an informational portal that displays the same content all the time. Once the web pages for such an Internet site are compiled, APC caches them and delivers them each time a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the code, the website will load a lot faster. APC is really useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with every single shared website hosting plan that we offer since it is already installed on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. As our system is really flexible, you can run sites with various system requirements and decide whether they will work with APC or not. For instance, you could allow APC only for one version of PHP or you can do the latter for several of the versions running on the platform. You can also select if all Internet sites working with a particular PHP version will use APC or if the latter will be active just for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you would like to employ a different web accelerator for several of your sites. These customizations are performed with ease through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with our semi-dedicated server plans and activating this framework is done with a click from the Hepsia Control Panel, so even if you don't have any prior experience, you will be able to use it in order to speed up your sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have freedom regarding the scripts and web accelerators you will be able to 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 in the domain/subdomain folders where you need settings that are different from the ones for the account in general, you could set what PHP version will be used and whether APC has to be allowed or not. This way, one website may use APC and PHP 5.3, for example, and another one may use another accelerator and PHP 5.5.