APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could boost a database-driven Internet site several times. Any time a PHP page is opened, the script pulls the website content that needs to be loaded from a database, parses and compiles the code, then the result is displayed to the website visitor. While this is necessary for websites with regularly changing content, it's a complete waste of processing time and system resources for a website that does not change, for instance an informational portal which shows the very same content at all times. Once the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor accesses them. As this saves the time to obtain content from the database and to parse and compile the code, your website will load a lot quicker. APC is very useful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with every single cloud hosting plan that we offer as it is already installed on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. As our platform is extremely flexible, you'll be able to run Internet sites with various system requirements and decide if they will use APC or not. For instance, you could allow APC only for one release of PHP or you can do this for several of the versions running on the platform. In addition, you can decide if all Internet sites working with a particular PHP version will use APC or whether the latter will be enabled only for selected websites and not for all websites in the website hosting account. The aforementioned option is useful if you intend to employ a different web accelerator for several of your websites. These customizations are performed with ease by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each and every script application which runs on your new semi-dedicated server since 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 single click inside the Hepsia Control Panel, but if needed, you can use the module only for certain 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 website folder, you'll be able to select what version will be used for this particular Internet site and whether APC should be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you'll be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you could take advantage of a different type of web accelerator.