APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven site several times. When a PHP page is accessed, the script pulls the content that should be shown from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for Internet sites with regularly changing content, it's a waste of processing time and system resources for a website which does not change, such as an informational portal which displays the very same content on a regular basis. Once the webpages for such a site are compiled, APC caches them and delivers them whenever a visitor opens them. As this saves the time to obtain content from the database and to parse and compile the program code, your Internet site will load much faster. APC is very helpful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
You will be able to use APC for your web applications with all of the hosting
packages that we provide since it is pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which comes with our shared plans and a few minutes later it'll begin caching the code of your software applications. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for several releases of PHP for the whole account and pick the version that each Internet site can use, or you could have the very same version of PHP, but enable or disable APC just for specified Internet sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for every script application that runs on your new semi-dedicated hosting
as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires a click in the Hepsia Control Panel, but if needed, you could use the module just for certain sites. This is possible on account of the versatility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can pick what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard 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 may use a different type of web accelerator.