APC, which is short 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 website several times. Every time a PHP page is accessed, the script pulls the content which has to be shown from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for websites with routinely changing content, it is a complete waste of processing time and resources for an Internet site which doesn't change, like an informational portal which shows identical content on a regular basis. As soon as the webpages for such a website are compiled, APC caches them and delivers them whenever a website visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the program code, the website will load significantly faster. APC is very helpful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is provided with every single cloud web hosting package that we offer and you can enable it with just a click from your Hepsia Control Panel if you want to use it for your web apps. A couple of minutes later the framework will be working and you'll experience the considerably faster loading speed of your database-driven sites. As we provide different versions of PHP which can also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP inside the same account. Our advanced cloud web hosting platform is very flexible, so in case you use some other web accelerator for any Internet site and it interferes with APC, you will be able to activate or deactivate the aforementioned for a particular site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for every single script application that is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you can use the module only for particular Internet sites. This is possible because of the versatility of our cloud platform - different 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 specific website and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for your account, so you will be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you may take advantage of a different type of web accelerator.