APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven site several times. When a PHP page is accessed, the script pulls the website content which needs to be loaded from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for Internet sites with frequently changing content, it is a waste of processing time and resources for an Internet site that does not change, like an informational portal that shows the exact same content on a regular basis. Once the web pages for such a website are compiled, APC caches them and delivers them any time a website visitor loads them. As this saves the time to get content from the database and to parse and compile the code, your website will load a lot faster. APC is very helpful in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You'll be able to employ APC for your web applications with any of the shared website hosting plans that we provide as it is pre-installed on our cloud website hosting platform. Activating it will take just a click in the Hepsia Control Panel which comes with our shared plans and a few minutes later it'll start caching the program code of your software apps. Our platform is rather flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the whole account and select the version that each website will use, or you can have the exact same version of PHP, but enable or disable APC just for particular Internet sites. This is done by putting a php.ini file with a line of 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 and every script application which is run on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a single click in the Hepsia Control Panel, but if necessary, you can use the module just for certain websites. This is possible because of the versatility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you may employ a different type of web accelerator.