APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ is short for, everything that APC is capable of doing PHP efficiency-wise and the ways to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very useful for scripts with large source code and will speed up such an Internet site up to three times. PHP sites are dynamic and each time a user accesses some web page, the script connects to a database to retrieve some content, and then the code is parsed and compiled before it's displayed to the site visitor. In case the output code does not change however, that is the case with Internet sites that show the exact same content all of the time, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it whenever visitors browse an Internet site, so the database doesn't need to be accessed and the program code does not need to be parsed and compiled repeatedly, which consequently reduces the Internet site loading time. The module can be really effective for informational websites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every hosting
package that we provide since it is already installed on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. As our system is really flexible, you'll be able to run websites with various requirements and decide if they will use APC or not. For instance, you can allow APC only for a single release of PHP or you can do this for several of the versions running on the platform. You may also select if all websites working with a certain PHP version will use APC or whether the latter will be active only for selected sites and not for all sites in the hosting account. The last option is useful when you want to employ a different web accelerator for some of your websites. These customizations are done without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application which is run on your new semi-dedicated server
because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account takes a single click from the Hepsia Control Panel, but if needed, you could use the module just for specific Internet sites. This is possible because of the flexibility 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'll be able to pick what release will be used for this particular website and whether APC needs to be enabled or disabled. Using such a file enables you to use settings that are different from the ones for the account, so you'll be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you may take advantage of some other kind of web accelerator.