APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven website several times. When a PHP webpage is accessed, the script pulls the website content that needs to be loaded from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for websites with routinely changing content, it is a total waste of processing time and system resources for a website that does not change, like an informational portal that displays the same content all the time. As soon as the webpages for such a website are compiled, APC caches them and delivers them every time a website visitor loads them. As this saves the time to get content from the database and to parse and compile the program code, your Internet site will load considerably quicker. APC is really useful especially for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our next generation cloud platform, which means that you can use it for your web applications whatever the shared hosting plan that you select when you sign up. The module can be enabled from the Hepsia hosting Control Panel that is used to handle the shared accounts and only several minutes later it will boost your sites because it'll begin caching their code. If you want to run websites with various system requirements or use specific web accelerators for some of them, you can customize the software environment by placing a php.ini file in the preferred domain folder. In this way, you could enable or disable APC not just for a certain site without affecting the remaining Internet sites in the account, but also for a particular version of PHP because our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every script application which is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click in the Hepsia Control Panel, but if necessary, you could use the module just for specific sites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what release will be used for this specific Internet site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the ones for the account, so you could take full advantage of APC for some scripts where the module makes a difference and not for others where you can employ a different type of web accelerator.