APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven site several times. Every time a PHP webpage is opened, the script pulls the site content which needs to be loaded from a database, parses and compiles the code, and then the result is shown to the site visitor. While this is necessary for websites with frequently changing content, it's a total waste of processing time and system resources for a site which does not change, for example an informational portal that shows identical content all the time. When the web pages for such a site are compiled, APC caches them and delivers them any time a website visitor loads them. Since this saves the time to collect content from the database and to parse and compile the program code, the Internet site will load a lot faster. APC is really useful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting
plan that we provide as it's already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is quite flexible, you'll be able to run websites with different requirements and decide whether they will use APC or not. For example, you could allow APC only for a single release of PHP or you can do this for several of the versions that run on our platform. You can also choose if all sites using a particular PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all websites in the website hosting account. The last option is useful if you want to employ a different web accelerator for several of your sites. 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 Servers
You can take full advantage of APC with all our semi-dedicated server
solutions and activating this framework is done with a mouse click from the Hepsia Control Panel, so even when you don't have any previous experience, you can use it to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you could use. It will take you just a click to activate APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account in general, you can set what PHP version will be used and whether APC should be allowed or not. This way, one site may use APC and PHP 5.3, for instance, and another one can use a different accelerator and PHP 5.5.