APC, which stands 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. Every time a PHP webpage is accessed, the script pulls the website content which should be shown from a database, parses and compiles the code, and the result is displayed to the visitor. While this is necessary for sites with frequently changing content, it is a waste of processing time and system resources for a site which doesn't change, for instance an informational portal which displays identical content all the time. Once the webpages for such a site are compiled, APC caches them and delivers them each time a visitor accesses them. Since this saves the time to get content from the database and to parse and compile the program code, your Internet site will load significantly faster. APC is really effective in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Web Hosting
You'll be able to employ APC for your web applications with all of the web hosting
packages that we provide because it's pre-installed on our cloud website hosting platform. Activating it will take only a click in the Hepsia Control Panel which is provided with our shared plans and a few minutes later it'll begin caching the code of your apps. Our platform is really flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for a couple of versions of PHP for the entire account and pick the version that each website can use, or you can have the same version of PHP, but enable or disable APC only for particular 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 need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each and every script application that is run on your new semi-dedicated server
as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a single click inside the Hepsia Control Panel, but if necessary, you could use the module only for specific 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'll be able to select what release will be used for this particular Internet site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you could take advantage of APC for a lot of scripts where the module will make a difference and not for others where you can take advantage of some other kind of web accelerator.