APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can boost a database-driven Internet site several times. Every time a PHP webpage is accessed, the script pulls the site content that should be loaded from a database, parses and compiles the code, then the result is shown to the site visitor. While this is necessary for sites with constantly changing content, it is a complete waste of processing time and resources for a website that does not change, like an informational portal that displays the same content all the time. As soon as the webpages for such a website are compiled, APC caches them and delivers them any time a visitor loads them. As this saves the time to request content from the database and to parse and compile the code, your website will load significantly quicker. APC is really useful especially for scripts with larger source code.
APC (PHP Opcode Cache) in Web Hosting
You can use APC for your web apps with all of the web hosting plans that we provide since it's pre-installed on our cloud web hosting platform. Enabling it will take just a click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it'll begin caching the code of your software applications. Our platform is quite flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and pick the version that each Internet site can use, or you can have the exact same version of PHP, but enable or disable APC just for specified websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application which is run 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 whole account takes a single click from the Hepsia Control Panel, but if needed, you could use the module just for specific websites. This is possible because of the flexibility of our cloud platform - multiple releases 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 needs to 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 a lot of scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.