APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the content that should be loaded from a database, parses and compiles the code, and the result is displayed to the visitor. While this is necessary for Internet sites with constantly changing content, it is a waste of processing time and resources for a site that does not change, for example an informational portal which displays the very same content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them whenever a visitor loads them. Since this saves the time to request content from the database and to parse and compile the code, your website will load a lot faster. APC is very effective especially for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with each and every cloud hosting solution that we offer and you can activate it with only a click through your Hepsia Control Panel if you want to use it for your applications. A couple of minutes later the framework will be working and you will experience the quicker loading speed of your database-driven websites. As we provide several versions of PHP that could also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP within the same account. Our leading-edge cloud hosting platform is very adaptable, so if you use a different web accelerator for any website and it interferes with APC, you could activate or deactivate the latter for a particular site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if necessary, you could use the module just for particular sites. This is possible on account of the versatility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to pick what version will be used for this specific site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module can make a difference and not for others where you could use another type of web accelerator.