APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. Every time a PHP page is accessed, the script pulls the site content that has to be displayed from a database, parses and compiles the code, and the result is displayed to the website visitor. While this is necessary for websites with regularly changing content, it's a waste of processing time and system resources for an Internet site which does not change, for example an informational portal which displays the same content at all times. When the pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor opens them. As this saves the time to collect content from the database and to parse and compile the code, the site will load considerably quicker. APC is really useful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our leading-edge cloud platform, which means that you can use it for your web applications regardless of the shared hosting package that you pick when you join us. The module can be enabled from the Hepsia web hosting Control Panel that is used to control the shared accounts and only several minutes later it will boost your websites since it will start caching their program code. If you would like to run Internet sites with different system requirements or take advantage of specific web accelerators for any 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 certain website without affecting the other websites in the account, but also for a certain version of PHP since our platform is compatible with multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every single script application that runs on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if necessary, you could use the module only for certain sites. This is possible on account of the flexibility of our cloud platform - different 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 pick what version will be used for this particular website and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for your account, so you could take advantage of APC for some scripts where the module makes a difference and not for others where you can use some other kind of web accelerator.