APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven site several times. When a PHP web page is accessed, the script pulls the content which 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 sites with frequently changing content, it's a complete waste of processing time and resources for an Internet site that doesn't change, for instance an informational portal which shows identical content at all times. When the web pages for such a website are compiled, APC caches them and delivers them each time a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load a lot quicker. APC is very useful especially for scripts with large source code.

APC (PHP Opcode Cache) in Website Hosting

You can use APC with every single website hosting package that we offer because it's already installed on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. Since our system is quite flexible, you will be able to run websites with various requirements and decide whether they will work with APC or not. For example, you can allow APC only for a single version of PHP or you could do this for several of the versions that run on the platform. You can also choose if all websites using a particular PHP version will use APC or if the latter will be enabled just for selected websites and not for all websites in the web hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several of your sites. These customizations are done effortlessly via 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 mouse click inside the Hepsia Control Panel, so even when you don't have any prior experience, you could use it in order to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to 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 as a whole, you will be able to set what PHP release will be used and whether APC has to be enabled or not. In this way, one site can use APC and PHP 5.3, for instance, while another one may use another accelerator and PHP 5.5.