APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP Internet sites keep their content in a database that is accessed whenever a visitor opens a page. The content which should be viewed is retrieved and the code is parsed and compiled before it's delivered to the visitor. All of these actions take some processing time and require reading and writing on the server for every single page which is accessed. While this can't be avoided for Internet sites with constantly changing content material, there are numerous sites that feature the exact same content on a number of of their webpages all of the time - blogs, informational portals, hotel and restaurant websites, and many others. APC is quite useful for such sites since it caches the previously compiled code and shows it each time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. This will not only reduce the server load, but it'll also increase the speed of any site many times.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is pre-installed on our leading-edge cloud platform, therefore you can use it for your web applications regardless of the shared web hosting solution that you choose when you join us. The module can be activated through the Hepsia hosting Control Panel that is used to manage the shared accounts and only several minutes later it will boost your sites as it will begin caching their program code. In case you need to run Internet sites with various system requirements or employ specific web accelerators for any of them, you'll be able to customize the software environment by putting a php.ini file in the preferred domain folder. In this way, you can enable or disable APC not only for a particular Internet site without affecting the other Internet sites in the account, but also for a particular version of PHP since our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for every single script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if necessary, you could use the module only for certain websites. This is possible on account of the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for many scripts where the module can make a difference and not for others where you could use a different type of web accelerator.