APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites save their content in a database which is accessed whenever a visitor loads a webpage. The content that needs to be shown is gathered and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions take some processing time and require reading and writing on the web server for every single page that is opened. While this cannot be avoided for sites with constantly changing content, there are many websites that offer the same content on a lot of of their pages all of the time - blogs, info portals, hotel and restaurant websites, etc. APC is exceptionally useful for this kind of websites because it caches the previously compiled code and shows it every time visitors browse the cached webpages, so the code does not need to be parsed and compiled again. Not only will this lower the server load, but it will also boost the speed of any Internet site several times.
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each and every web hosting package that we offer since it is already present on our advanced cloud platform and activating it will take you only a few clicks in your Hepsia Control Panel. As our system is really flexible, you will be able to run websites with different requirements and decide if they will work with APC or not. For example, you can allow APC only for one release of PHP or you could do this for several of the releases running on the platform. You can also select if all Internet sites using a certain PHP version will use APC or if the latter will be active only for selected sites and not for all Internet sites in the website hosting account. The aforementioned option is useful if you wish to employ a different web accelerator for some of your sites. These customizations are done with ease via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for each script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click in the Hepsia Control Panel, but if necessary, you could use the module only for certain Internet sites. This is possible as a result of the versatility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific Internet site and whether APC should be enabled or disabled. Employing such a file allows you to use settings that are different from the ones for the account, so you can take full advantage of APC for many scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.