APC (PHP Opcode Cache)
What does the acronym 'APC' mean? Why is the existence of APC within your account important as far as your PHP-based Internet sites are concerned? How to enable this feature?
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very useful for scripts with large source code and can speed up such a site as much as three times. PHP sites are dynamic and any time a visitor opens a page, the script links to a database to retrieve some content, after that the code is parsed and compiled before it is shown to the website visitor. If the output code does not change however, that's the case with websites that display the same content all of the time, these actions result in needless 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 does not need to be accessed and the program code does not need to be parsed and compiled continuously, which consequently minimizes the Internet site loading time. The module can be pretty useful for informational websites, blogs, portfolios, etcetera.
-
APC (PHP Opcode Cache) in Hosting
You can use APC with each and every
hosting package that we offer as it's already set up on our advanced cloud platform and enabling it will take you only a few clicks in your Hepsia Control Panel. Since our system is quite flexible, you'll be able to run websites with different requirements and decide whether they will use APC or not. For example, you could allow APC only for one version of PHP or you could do this for several of the releases running on our platform. You can also decide if all sites working with a particular PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all websites in the website hosting account. The last option is useful when you want to employ a different web accelerator for some of your sites. These customizations are done without difficulty by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is set up on the innovative cloud hosting platform where all
semi-dedicated hosting accounts are created, so you will be able to use it irrespective of the package you pick. Activating the module is done from the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or earlier experience in order to take full advantage of it. Since you'll be able to work with different versions of PHP concurrently, you could modify the software environment for every single site that you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will permit you to set what version of PHP this particular Internet site will use and whether APC should be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and use different web accelerators for websites which are in the same account.