APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. When a PHP webpage is opened, the script pulls the content which has to be loaded from a database, parses and compiles the code, then the result is shown to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a waste of processing time and system resources for a site that does not change, for example an informational portal that displays identical content at all times. Once the webpages for such a site are compiled, APC caches them and delivers them each time a visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the site will load considerably quicker. APC is really useful particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Hosting

You can employ APC for your web apps with any of the hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll start caching the code of your applications. Our platform is extremely flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and set the version that each website can use, or you can have the very same version of PHP, but activate or deactivate APC just for specific websites. You can do this by placing a php.ini file with a line of code in the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with all our semi-dedicated server plans and activating this framework is done with a click inside the Hepsia Control Panel, so even when you lack previous experience, you will be able to use it to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility with regards to the scripts and web accelerators you can employ. It will take you only a click to enable APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for instance, and another one could use a different accelerator and PHP 5.5.