APC (PHP Opcode Cache)
What exactly does the acronym 'APC' mean? Just why is the presence of APC in your account essential as far as your PHP-based sites are concerned? How to turn on 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 speed up such a site as much as three times. PHP websites are dynamic and any time a visitor accesses some web page, the script links to a database in order to retrieve some content, after that the code is parsed and compiled prior to it being shown to the website visitor. If the output code doesn't change however, that is the case with Internet sites that display identical content at all times, these actions trigger unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a site, so the database doesn't need to be accessed and the code doesn't have to be parsed and compiled repeatedly, that consequently lowers the website loading time. The module can be really efficient for informational Internet sites, blogs, portfolios, and many others.
-
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each
web hosting plan that we provide since it's already installed on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. Since our system is quite flexible, you can run websites with different system requirements and decide if they will work with APC or not. For instance, you can activate APC only for a single version of PHP or you can do the latter for several of the versions that run on the platform. You can also select if all sites working with a particular PHP version will use APC or whether the latter will be active only for selected sites and not for all websites in the hosting account. The last option is useful if you intend to employ a different web accelerator for some of your Internet 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
You can use APC with all our
semi-dedicated server plans and activating the framework is performed with a mouse click inside the Hepsia Control Panel, so even when you have no prior experience, you can use it in order to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you'll be able to employ. It will take you only a click to enable APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you'll be able to set what PHP release will be used and whether APC should be allowed or not. This way, one site may use APC and PHP 5.3, for example, whereas another one may use another accelerator and PHP 5.5.