APC (PHP Opcode Cache)
What does the acronym 'APC' signify? Why is the presence of APC within your account important as far as your PHP-based Internet sites are concerned? How can you turn on this option?
Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very effective for scripts with large source code and can accelerate such a site up to 3 times. PHP sites are dynamic and every time a visitor accesses some web page, the script connects to a database in order to retrieve some content, and then the code is parsed and compiled before it's displayed to the website visitor. If the output code doesn't change however, that's the case with Internet sites that show the exact same content all of the time, such actions result in unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse an Internet site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled repeatedly, which consequently decreases the site loading time. The module could be extremely helpful for informational sites, blogs, portfolios, and many others.
-
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each
cloud hosting package that we offer since it's already present on our advanced cloud platform and enabling it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is extremely flexible, you'll be able to run Internet sites with various requirements and decide if they will use APC or not. For example, you can enable APC only for one release of PHP or you can do the latter for several of the versions that run on our platform. You may also select if all websites using a particular PHP version will use APC or if the latter will be enabled only for selected websites and not for all sites in the website hosting account. The last option is useful if you intend to employ a different web accelerator for some of your sites. These customizations are done without any difficulty by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is set up on the state-of-the-art cloud hosting platform where all
semi-dedicated server accounts are created, so you will be able to use it whatever the package you pick. Enabling the module is performed through the Hepsia Control Panel and takes only a click, so you will not need any skills or previous experience to be able to take full advantage of it. Since you'll be able to work with different releases of PHP at the same time, you could customize the software environment for each site which you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will enable you to set what version of PHP this particular website will use and whether APC should be on or off for it. These settings will have priority over those for the account as a whole, so you can run various scripts and take advantage of different web accelerators for Internet sites that are in the same account.