APC (PHP Opcode Cache)
What does the abbreviation 'APC' mean? Just why is the presence of APC within your account important as far as your PHP-based Internet sites are involved? How to enable this feature?
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites keep their content in a database which is accessed whenever a visitor loads a page. The content which has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All of these actions need some processing time and require reading and writing on the server for each and every page which is opened. While this can't be avoided for websites with regularly changing content, there are various sites that offer the very same content on a lot of of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, and many others. APC is very useful for this kind of Internet sites since it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only decrease the server load, but it'll also boost the speed of any site many times.
-
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with every single
shared hosting package that we provide since it is already present on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. As our platform is really flexible, you'll be able to run sites with different requirements and decide if they will use APC or not. For instance, you could enable APC only for a single release of PHP or you can do the latter for several of the versions that run on the platform. It's also possible to decide if all Internet 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 Internet sites in the website hosting account. The aforementioned option is useful when you need to employ a different web accelerator for some of your sites. These customizations are done effortlessly via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with all our
semi-dedicated hosting solutions and activating this framework is performed with a mouse click in the Hepsia Control Panel, so even when you lack previous experience, you can use it in order to quicken your websites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you can employ. It will take you just 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 in general, you can set what PHP version will be used and whether APC has to be enabled or not. In this way, one site can use APC and PHP 5.3, for example, while another one can use another accelerator and PHP 5.5.