APC, which is short 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 website several times. Any time a PHP page is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the code, then the result is displayed to the site visitor. While this is necessary for websites with frequently changing content, it is a total waste of processing time and resources for an Internet site that does not change, such as an informational portal that shows the exact same content all the time. Once the web pages for such an Internet site are compiled, APC caches them and delivers them any time a website visitor accesses them. Since this saves the time to request content from the database and to parse and compile the code, the site will load much quicker. APC is very effective in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is pre-installed on our state-of-the-art cloud platform, therefore you can use it for your web applications whatever the cloud web hosting plan that you select when you register. The module can be enabled through the Hepsia internet hosting Control Panel which is used to take care of the shared accounts and just a few minutes later it'll boost your Internet sites since it will begin caching their code. If you need to run Internet sites with different system requirements or take advantage of different web accelerators for some of them, you could customize the software environment by placing a php.ini file in the desired domain folder. This way, you could enable or disable APC not just for a particular website without affecting the other Internet sites in the account, but also for a certain version of PHP as our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each and 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 made. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if needed, you can use the module only for specific Internet sites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you can take advantage of APC for some scripts where the module makes a difference and not for others where you could use some other kind of web accelerator.