APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could speed up a database-driven website several times. When a PHP web page is accessed, the script pulls the content that needs to be displayed from a database, parses and compiles the code, and the result is shown to the website visitor. While this is necessary for Internet sites with routinely changing content, it's a total waste of processing time and resources for a site which doesn't change, like an informational portal that shows the exact same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them whenever a website visitor opens them. As this saves the time to request content from the database and to parse and compile the program code, your website will load significantly quicker. APC is really efficient in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Web Hosting
You'll be able to use APC for your web apps with all of the web hosting plans that we provide since it is pre-installed on our cloud website hosting platform. Activating it will take just a click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll start caching the program code of your applications. Our platform is rather flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the whole account and set the version that each Internet site can use, or you could have the very same version of PHP, but activate or deactivate APC just for specific Internet sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each script application which 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 entire account takes a single click from the Hepsia Control Panel, but if necessary, you can use the module just for specific Internet sites. This is possible due to 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 can choose what release will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you'll be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you may take advantage of some other kind of web accelerator.