APC (PHP Opcode Cache)
What does the acronym 'APC' imply? Just why is the presence of APC in your account important as far as your PHP-based websites are involved? How can you activate this feature?
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 effective for scripts with large source code and can boost such an Internet site up to 3 times. PHP sites are dynamic and each time a website visitor opens a webpage, the script connects to a database to retrieve some content, and then the code is parsed and compiled before it is displayed to the site visitor. If the output code doesn't change however, that is the case with websites that display the exact same content all of the time, these actions result in needless reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a website, so the database doesn't need to be accessed and the program code doesn't need to be parsed and compiled again and again, which consequently reduces the website loading time. The module can be quite helpful for informational Internet sites, blogs, portfolios, and so on.
-
APC (PHP Opcode Cache) in Web Hosting
APC is pre-installed on our advanced cloud platform, so you'll be able to use it for your applications regardless of the
web hosting plan that you choose when you register. The module can be enabled from your Hepsia web hosting Control Panel which is used to control the shared accounts and just several minutes later it'll speed up your Internet sites because it will begin caching their code. If you need to run Internet sites with different system requirements or employ different web accelerators for any of them, you can customize the software environment by putting a php.ini file in the preferred domain folder. In this way, you could enable or disable APC not only for a particular site without affecting the other Internet sites in the account, but also for a certain version of PHP since our platform is compatible with multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every single script application that runs on your new
semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a single click inside the Hepsia Control Panel, but if needed, you could use the module only for certain sites. This is possible on account of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this particular site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings that are different from the ones for your account, so you can take full advantage of APC for many scripts where the module makes a difference and not for others where you may use another type of web accelerator.