Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very useful for scripts with large source code and will boost such a website up to 3 times. PHP sites are dynamic and every time a user accesses a web page, the script hooks up to a database in order to retrieve some content, then the code is parsed and compiled prior to it being shown to the visitor. In case the output code does not change however, that's the case with sites that display identical content all the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a website, so the database does not need to be accessed and the code doesn't have to be parsed and compiled over and over again, which in turn reduces the site loading time. The module can be rather useful for informational Internet sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You'll be able to use APC for your web apps with all of the hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Enabling it will take just a single click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll start caching the code of your apps. Our platform is rather flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For example, you'll be able to activate APC for several releases of PHP for the whole account and set the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified websites. You can do this by placing a php.ini file with a line of code inside 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 runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click from the Hepsia Control Panel, but if needed, you could use the module only for particular Internet sites. This is possible on account of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to pick what release will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for your account, so you can take advantage of APC for many scripts where the module can make a difference and not for others where you can use a different kind of web accelerator.