APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can speed up a database-driven website several times. Every time a PHP page is accessed, the script pulls the website content that should be shown from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for websites with frequently changing content, it's a complete waste of processing time and resources for a site which doesn't change, like an informational portal which displays the same content on a regular basis. Once the pages for such a website are compiled, APC caches them and delivers them any time a website visitor opens them. As this saves the time to get content from the database and to parse and compile the program code, the website will load much faster. APC is very effective particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with every single shared hosting plan that we provide since it is already set up on our advanced cloud platform and activating it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is quite flexible, you can run sites with different requirements and decide whether they will work with APC or not. For example, you can allow APC only for one release of PHP or you could do the latter for several of the versions that run on the platform. You may also decide if all Internet sites working with a given PHP version will use APC or if the latter will be enabled just for selected sites and not for all sites in the website hosting account. The aforementioned option is useful when you want to employ a different web accelerator for several of your Internet sites. These customizations are done without difficulty by using 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 inside the Hepsia Control Panel, so even when you don't have any prior experience, you will be able to use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you only a click to allow APC for one or several PHP releases 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 as a whole, you could set what PHP version will be used and whether APC has to be allowed or not. In this way, one site may use APC and PHP 5.3, for instance, and another one can use some other accelerator and PHP 5.5.