APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven site several times. Every time a PHP page is accessed, the script pulls the website content that needs to be shown from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for sites with frequently changing content, it is a waste of processing time and resources for an Internet site that does not change, for instance an informational portal which shows the same content on a regular basis. As soon as the webpages for such a site are compiled, APC caches them and delivers them any time a website visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the code, the Internet site will load considerably quicker. APC is very efficient particularly for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC for your web apps with all of the shared hosting plans that we offer because it's pre-installed on our cloud website hosting platform. Turning it on will take just a click in the Hepsia Control Panel which comes with our shared plans and several minutes later it will start caching the code of your applications. Our platform is really flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the whole account and choose the version that each site will use, or you could have the very same version of PHP, but enable or disable APC just for specific Internet sites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every single script application which is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you could use the module only for certain websites. This is possible due to the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can select what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you'll 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 could employ another type of web accelerator.