APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can boost a database-driven site several times. Each time a PHP page is accessed, the script pulls the content that needs to be displayed 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 regularly changing content, it is a complete waste of processing time and resources for a site which does not change, for instance an informational portal that shows identical content at all times. When the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a user loads them. Since this saves the time to collect content from the database and to parse and compile the program code, your website will load much quicker. APC is very helpful especially for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with each and every cloud hosting package that we provide as it's already installed on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. As our system is rather flexible, you can run websites with different system requirements and decide whether they will use APC or not. For instance, you can enable APC only for a single release of PHP or you can do this for several of the releases running on the platform. You may also select if all sites working with a certain PHP version will use APC or whether the latter will be enabled only for selected websites and not for all Internet sites in the hosting account. The last option is useful if you would like to employ a different web accelerator for several of your sites. These customizations are performed with ease via a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every single script application which is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a single click from the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you will be able to choose what version will be used for this particular site and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for your account, so you'll be able to take full advantage of APC for many scripts where the module makes a difference and not for others where you may take advantage of some other type of web accelerator.