APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can boost a database-driven Internet site several times. When a PHP webpage is accessed, the script pulls the website content that has to be displayed from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for Internet sites with constantly changing content, it is a waste of processing time and system resources for a website which doesn't change, like an informational portal which shows the exact same content on a regular basis. Once the pages for such a site are compiled, APC caches them and delivers them whenever a visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load a lot quicker. APC is very helpful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

You can use APC with every single website hosting package that we offer as it is already present on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. As our platform is extremely flexible, you'll be able to run Internet sites with various requirements and decide if they will work with APC or not. For example, you could activate APC only for one release of PHP or you can do the latter for several of the versions running on the platform. In addition, you can decide if all websites working with a specific PHP version will use APC or whether the latter will be active just for selected websites and not for all websites in the website hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for several of your sites. These customizations are carried out without difficulty by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application which runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a single click in the Hepsia Control Panel, but if needed, you could use the module just for specific websites. This is possible due to the versatility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this particular website and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for some scripts where the module makes a difference and not for others where you can employ some other kind of web accelerator.