APC (PHP Opcode Cache)
Uncover what the phrase ‘APC’ means, what precisely APC is capable of doing PHP effectiveness-wise and the way to activate it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very effective for scripts with large source code and could speed up such an Internet site as much as 3 times. PHP sites are dynamic and each time a user opens a web page, the script connects to a database in order to get some content, then the code is parsed and compiled before it is displayed to the website visitor. If the output code doesn't change however, which is the case with websites which show identical content all the time, these actions trigger excessive reading and writing. What APC does is that it caches the previously compiled code and delivers it each time visitors browse a website, so the database doesn't have to be accessed and the code does not need to be parsed and compiled over and over again, which consequently reduces the website loading time. The module could be extremely effective for informational Internet sites, blogs, portfolios, and many others.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our next generation cloud platform, so you can use it for your applications whatever the
shared hosting plan that you pick when you register. The module can be enabled from your Hepsia hosting Control Panel which is used to maintain the shared accounts and only a few minutes later it will speed up your sites as it will begin caching their code. If you wish to run sites with various system requirements or employ specific web accelerators for any of them, you can customize the software environment by putting a php.ini file inside the preferred domain folder. Thus, you can enable or disable APC not only for a particular website without affecting the remaining sites in the account, but also for a specific version of PHP because our platform is compatible with multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our
semi-dedicated server plans and activating this framework is done with a click in the Hepsia Control Panel, so even when you have no prior experience, you can use it to accelerate your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to enable APC for one or a couple of PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings that are not the same as the ones for the account in general, you will be able to set what PHP version will be used and whether APC needs to be enabled or not. In this way, one website may use APC and PHP 5.3, for example, while another one can use a different accelerator and PHP 5.5.