APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven site several times. Each time a PHP web page is accessed, the script pulls the site content which needs to be displayed from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and system resources for an Internet site which doesn't change, like an informational portal which shows the exact same content on a regular basis. When the webpages for such a website are compiled, APC caches them and delivers them whenever a website visitor opens them. Since this saves the time to get content from the database and to parse and compile the program code, your website will load considerably faster. APC is really useful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

APC is provided with each and every cloud hosting package that we offer and you can activate it with only a click from your Hepsia Control Panel if you'd like to use it for your applications. A couple of minutes later the framework will be working and you'll be able to take advantage of the considerably quicker loading speed of your database-driven websites. Since we offer different releases of PHP which could also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP within the same account. Our cutting-edge cloud hosting platform is extremely flexible, so in case you use a different web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the aforementioned for a certain site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for each script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click in the Hepsia Control Panel, but if needed, you could use the module just for specific sites. This is possible on account of the flexibility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for the account, so you will be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you could use some other type of web accelerator.