APC (PHP Opcode Cache)
What exactly does the acronym 'APC' signify? Why is the presence of APC within your account important as far as your PHP-based Internet sites are concerned? How can you turn on this option?
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 Internet site several times. Every time a PHP page is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the code, and then the result is shown to the visitor. While this is necessary for Internet sites with routinely changing content, it is a waste of processing time and resources for an Internet site that doesn't change, for example an informational portal which displays the exact same content at all times. As soon as the web pages for such a website are compiled, APC caches them and delivers them any time a visitor accesses them. As this saves the time to request content from the database and to parse and compile the code, the Internet site will load considerably faster. APC is very effective particularly for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every
shared hosting package that we provide because it's already installed on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our system is really flexible, you'll be able to run websites with different system requirements and decide whether they will work with APC or not. For instance, you could activate APC only for one release of PHP or you can do the latter for several of the versions running on our platform. You may also decide if all websites using a particular PHP version will use APC or if the latter will be active only for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you would like to employ a different web accelerator for some of your Internet sites. These customizations are carried out without any difficulty via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for every script application which is run on your new
semi-dedicated hosting because the module is pre-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 necessary, you could use the module just for certain 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'll be able to select what version will be used for this specific site and whether APC should be enabled or disabled. Using such a file enables you to use settings that are different from the ones for the account, so you'll be able to take advantage of APC for many scripts where the module makes a difference and not for others where you could use a different kind of web accelerator.