APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven site several times. When a PHP webpage is accessed, the script pulls the site content which should be loaded from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for Internet sites with constantly changing content, it's a total waste of processing time and system resources for a website that doesn't change, like an informational portal that displays the exact same content on a regular basis. Once the pages for such a website are compiled, APC caches them and delivers them every time a user accesses them. Since this saves the time to request content from the database and to parse and compile the code, the Internet site will load significantly quicker. APC is very useful particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Web Hosting

You can use APC with every single shared web hosting package that we offer as it is already set up on our advanced cloud platform and enabling it will take you just a couple of 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 could allow APC only for one version of PHP or you can do the latter for several of the releases that run on the platform. You may also select if all Internet sites working with a certain PHP version will use APC or if the latter will be enabled only for selected sites and not for all websites in the hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several of your Internet sites. These customizations are done effortlessly by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server plans and activating this framework is done with a click in the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you will be able to use. It will take you just a click to allow APC for one or several PHP versions 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 can set what PHP version will be used and whether APC has to be enabled or not. This way, one site can use APC and PHP 5.3, for instance, and another one may use some other accelerator and PHP 5.5.