APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP sites save their content within a database that is accessed whenever a visitor opens a webpage. The content which should be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions need some processing time and require reading and writing on the hosting server for every single page that is opened. While this cannot be avoided for sites with constantly changing content, there are numerous sites that have the same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant sites, etc. APC is very useful for this kind of Internet sites since it caches the already compiled code and shows it every time visitors browse the cached pages, so the code does not have to be parsed and compiled again. This will not only greatly reduce the server load, but it'll also increase the speed of any site several times.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each shared hosting package that we provide as it is already installed on our advanced cloud platform and enabling it will take you just a few clicks inside your Hepsia Control Panel. Since our platform is really flexible, you will be able to run sites with various requirements and decide if they will work with APC or not. For instance, you could activate APC only for a single release of PHP or you can do the latter for several of the versions that run on the platform. In addition, you can decide if all Internet sites using a specific PHP version will use APC or whether the latter will be active only for selected websites and not for all websites in the web hosting account. The aforementioned option is useful if you need to employ a different web accelerator for several of your Internet sites. These customizations are performed with ease by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application that runs on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires one click inside the Hepsia Control Panel, but if needed, you could use the module just for particular sites. This is possible due to the versatility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular Internet site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you could take full advantage of APC for some scripts where the module can make a difference and not for others where you could employ some other type of web accelerator.