Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script applications. It is very efficient for scripts with large source code and could accelerate such a site up to 3 times. PHP sites are dynamic and every time a visitor opens some page, the script hooks up to a database in order to get some content, then the code is parsed and compiled before it is displayed to the site visitor. In case the output code does not change however, that is the case with Internet sites that show the very same content at all times, these actions trigger needless reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse an Internet site, so the database does not have to be accessed and the program code doesn't have to be parsed and compiled over and over again, that consequently minimizes the Internet site loading time. The module could be pretty helpful for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web applications with all of the cloud hosting plans that we provide as it is pre-installed on our cloud website hosting platform. Enabling it will take just a click in the Hepsia Control Panel that comes with our shared plans and several minutes later it will start caching the program code of your software apps. Our platform is quite flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for a couple of 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 only for specific Internet sites. You can do this by placing a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each and every script application that 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 takes one click inside the Hepsia Control Panel, but if necessary, you could use the module only for certain Internet sites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular site and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you can take full advantage of APC for some scripts where the module will make a difference and not for others where you may use some other kind of web accelerator.