APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could boost a database-driven site several times. Any time a PHP webpage is accessed, the script pulls the content which needs to be displayed from a database, parses and compiles the code, then the result is shown to the site visitor. While this is necessary for Internet sites with routinely changing content, it is a total waste of processing time and system resources for a website that does not change, such as an informational portal that displays the very same content at all times. When the pages for such a website are compiled, APC caches them and delivers them every time a website visitor loads them. Since this saves the time to get content from the database and to parse and compile the program code, the site will load much faster. APC is very effective especially for scripts with massive source code.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web applications with any of the shared hosting packages that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and a few minutes later it'll begin caching the code of your software apps. Our platform is extremely flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each website will use, or you could have the same version of PHP, but activate or deactivate APC only for specified Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application that is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes a single click in the Hepsia Control Panel, but if needed, you can use the module just for specific sites. This is possible due to the versatility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can pick what version will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you'll be able to take advantage of APC for some scripts where the module makes a difference and not for others where you can employ another kind of web accelerator.