APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could speed up a database-driven site several times. Each time a PHP web page is opened, the script pulls the website content which has to be shown from a database, parses and compiles the program code, and then the result is shown to the website visitor. While this is necessary for websites with frequently changing content, it is a complete waste of processing time and system resources for a website that does not change, like an informational portal that shows the same content at all times. Once the web pages for such a website are compiled, APC caches them and delivers them each time a user accesses them. As this saves the time to request content from the database and to parse and compile the program code, the website will load significantly faster. APC is really efficient especially for scripts with large source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each shared website hosting plan that we provide because it's already set up on our advanced cloud platform and enabling it will take you just a couple of clicks inside your Hepsia Control Panel. As our platform is really flexible, you'll be able to run websites with various system requirements and decide if they will work with APC or not. For instance, you can allow APC only for a single version of PHP or you can do the latter for several of the versions that run on the platform. It's also possible to decide if all Internet sites using a specific PHP version will use APC or whether the latter will be active just for selected Internet sites and not for all websites in the web hosting account. The last option is useful when you need to employ a different web accelerator for some of your 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 Hosting
You can take advantage of APC with all our semi-dedicated hosting solutions and activating this framework is performed with a click in the Hepsia Control Panel, so even if you have no prior experience, you will be able to use it in order to quicken your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you can use. It will take you just a click to activate 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 which are not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC needs to be allowed or not. This way, one website could use APC and PHP 5.3, for example, and another one could use a different accelerator and PHP 5.5.