APC (PHP Opcode Cache)
Uncover what the phrase ‘APC’ means, precisely what APC can do PHP functionality-wise and the ways to activate it for your account.
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 will accelerate such a site up to three times. PHP sites are dynamic and whenever a website visitor opens a page, the script hooks up to a database in order to retrieve some content, after that the code is parsed and compiled before it's shown to the visitor. If the output code doesn't change however, which is the case with websites which display the very same content all the time, such actions result in excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it each time visitors browse a website, so the database doesn't have to be accessed and the program code doesn't have to be parsed and compiled over and over again, which consequently lowers the Internet site loading time. The module could be pretty helpful for informational Internet sites, blogs, portfolios, etcetera.
-
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each and every
shared hosting package that we provide as it's already set up on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. As our system is rather flexible, you will be able to run Internet sites with various requirements and decide whether they will work with APC or not. For instance, you could allow APC only for a single version of PHP or you could do this for several of the releases running on our platform. You can also select if all websites using a specific PHP version will use APC or if the latter will be enabled only for selected sites and not for all sites in the web hosting account. The last option is useful if you would like to employ a different web accelerator for several of your sites. These customizations are performed without any difficulty through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each and every script application that runs on your new
semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires a single click from the Hepsia Control Panel, but if necessary, you can use the module only for particular websites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can choose what release will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for your account, so you can take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you could take advantage of another type of web accelerator.