APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven Internet site several times. Each time a PHP web page is accessed, the script pulls the website content which has to be loaded from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with routinely changing content, it is a total waste of processing time and system resources for a site which doesn't change, such as an informational portal that displays identical content all the time. When the pages for such a website are compiled, APC caches them and delivers them each time a visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the program code, your Internet site will load considerably quicker. APC is very useful especially for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You can use APC with each and every cloud website hosting plan that we offer since it is already set up on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. As our system is rather flexible, you can run Internet sites with different system requirements and decide whether they will use APC or not. For instance, you could allow APC only for a single version of PHP or you could do the latter for several of the versions that run on our platform. It's also possible to choose if all Internet sites working with a specific PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all Internet sites in the website hosting account. The last option is useful if you need to employ a different web accelerator for several of your Internet sites. These customizations are performed effortlessly through a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with our semi-dedicated hosting plans and activating the framework is done with a click from the Hepsia Control Panel, so even when you have no prior experience, you'll be able to use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to activate APC for one or several PHP versions 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 could set what PHP version will be used and whether APC needs to be allowed or not. In this way, one site could use APC and PHP 5.3, for instance, while another one may use some other accelerator and PHP 5.5.