APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could speed up a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the content that needs to be shown from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for a site which does not change, like an informational portal which displays the exact same content at all times. When the web pages for such a site are compiled, APC caches them and delivers them each time a user accesses them. Since this saves the time to request content from the database and to parse and compile the program code, the site will load considerably quicker. APC is very helpful particularly for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with every single shared hosting package that we provide since it is already present on our advanced cloud platform and enabling it will take you only a few clicks in your Hepsia Control Panel. As our system is quite flexible, you will be able to run Internet sites with different requirements and decide whether they will use APC or not. For example, you could activate APC only for one version of PHP or you can do this for several of the versions that run on the platform. You may also decide if all websites using a given PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all Internet sites in the website hosting account. The last option is useful when you intend to employ a different web accelerator for some 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 use APC for every 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 generated. Activating or deactivating APC for the account requires a single click in the Hepsia Control Panel, but if needed, you can use the module only for certain Internet sites. This is possible due to the versatility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can pick what version will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for the account, so you'll be able to take advantage of APC for some scripts where the module will make a difference and not for others where you could take advantage of some other type of web accelerator.