APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can boost a database-driven website several times. Every time a PHP web page is opened, the script pulls the website content which needs to be loaded from a database, parses and compiles the program code, and the result is displayed to the site visitor. While this is necessary for Internet sites with regularly changing content, it's a total waste of processing time and resources for an Internet site which doesn't change, such as an informational portal which displays identical content at all times. Once the webpages for such an Internet site are compiled, APC caches them and delivers them whenever a user opens them. As this saves the time to collect content from the database and to parse and compile the code, your website will load significantly quicker. APC is really effective especially for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You can use APC with each and every hosting plan that we offer because it is already set up on our advanced cloud platform and enabling it will take you only a few clicks in your Hepsia Control Panel. Since our platform is really flexible, you'll be able to run sites with various requirements and decide if they will work with APC or not. For example, you can allow APC only for a single version of PHP or you could do the latter for several of the releases that run on the platform. In addition, you can select if all Internet sites working with a particular PHP version will use APC or if the latter will be active only for selected websites and not for all Internet sites in the website hosting account. The last option is useful if you'd like to employ a different web accelerator for some of your sites. These customizations are carried out 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 every script application that is run 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 whole account requires one click from the Hepsia Control Panel, but if necessary, you could use the module only for specific websites. This is possible because of the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this particular site and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the ones for your account, so you'll be able to take advantage of APC for many scripts where the module makes a difference and not for others where you could use a different type of web accelerator.