APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can boost a database-driven site several times. When a PHP webpage is opened, the script pulls the website content that needs to be loaded from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for websites with routinely changing content, it is a waste of processing time and system resources for an Internet site that does not change, for example an informational portal which shows the same content all the time. When the pages for such an Internet site are compiled, APC caches them and delivers them any time a user loads them. Since this saves the time to request content from the database and to parse and compile the program code, your Internet site will load considerably quicker. APC is really efficient especially for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with every single shared hosting plan that we offer since it is already installed on our advanced cloud platform and enabling it will take you just a few clicks inside your Hepsia Control Panel. Since our system is really flexible, you'll be able to run websites with different requirements and decide if they will use APC or not. For instance, you could allow APC only for one version of PHP or you could do the latter for several of the versions that run on our platform. You may also choose if all websites working with a particular PHP version will use APC or whether the latter will be active only for selected websites and not for all websites in the website hosting account. The aforementioned option is useful when you intend to employ a different web accelerator for some of your websites. These customizations are carried out without any 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 will be able to use it in order to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have freedom regarding the scripts and web accelerators you can use. It will take you only a click to enable APC for one or several PHP releases 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 has to be allowed or not. This way, one Internet site could use APC and PHP 5.3, for example, whereas another one can use some other accelerator and PHP 5.5.