APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven site several times. When a PHP page is opened, the script pulls the site content that should be loaded from a database, parses and compiles the program code, and then the result is shown to the website visitor. While this is necessary for websites with regularly changing content, it is a total waste of processing time and system resources for a site that does not change, for instance an informational portal which displays the exact same content on a regular basis. When the webpages for such an Internet site are compiled, APC caches them and delivers them whenever a user loads them. As this saves the time to obtain content from the database and to parse and compile the program code, your website will load considerably quicker. APC is really useful in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our advanced cloud platform, therefore you'll be able to use it for your web applications regardless of the shared hosting plan that you select when you sign up. The module can be enabled from the Hepsia web hosting Control Panel that is used to maintain the shared accounts and just several minutes later it'll boost your Internet sites since it'll begin caching their code. In case you wish to run Internet sites with different system requirements or use specific web accelerators for some of them, you can customize the software environment by putting a php.ini file in the desired domain folder. This way, you could enable or disable APC not only for a certain website without affecting the remaining Internet sites in the account, but also for a particular version of PHP because our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each and every script application that is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a single click from the Hepsia Control Panel, but if needed, you can use the module just for particular Internet sites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file allows 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 a lot of scripts where the module makes a difference and not for others where you may take advantage of some other type of web accelerator.