APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites hold their content inside a database that is accessed whenever a visitor opens a webpage. The content that should be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions take some processing time and require reading and writing on the hosting server for every single page that is accessed. While this cannot be avoided for Internet sites with regularly changing content material, there're numerous Internet sites which feature the very same content on a number of of their webpages all the time - blogs, informational portals, hotel and restaurant Internet sites, and many others. APC is very useful for such websites as it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this lower the server load, but it will also increase the speed of any website several times.
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our next generation cloud platform, which means that you'll be able to use it for your applications regardless of the shared hosting
solution that you select when you join us. The module can be activated from your Hepsia hosting Control Panel that is used to handle the shared accounts and only a few minutes later it'll speed up your Internet sites because it'll begin caching their program code. If you want to run websites with different system requirements or employ different web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file inside the desired domain folder. Thus, you can enable or disable APC not just for a particular website without affecting the remaining sites in the account, but also for a certain 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 for every 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 generated. Activating or deactivating APC for the account takes a click in the Hepsia Control Panel, but if necessary, you could use the module just for specific websites. This is possible due to the flexibility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to select what version will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for the account, so you can take advantage of APC for a lot of scripts where the module makes a difference and not for others where you can use another kind of web accelerator.