APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites store their content inside a database that is accessed whenever a visitor opens a page. The content which needs to be shown is gathered and the code is parsed and compiled before it's delivered to the website visitor. All of these actions need some processing time and include reading and writing on the server for each and every page which is accessed. While this can't be avoided for Internet sites with regularly changing content, there're various sites that have the exact same content on a number of of their webpages at all times - blogs, informational portals, hotel and restaurant sites, and many others. APC is quite useful for this kind of sites because it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. This will not only minimize the server load, but it will also boost the speed of any site a few times.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is pre-installed on our outstanding cloud platform, which means that you will be able to use it for your web applications irrespective of the shared web hosting solution that you pick when you sign up. The module can be enabled from the Hepsia hosting Control Panel that is used to take care of the shared accounts and just a few minutes later it'll speed up your sites since it'll start caching their code. If you wish to run websites with different system requirements or employ specific web accelerators for some of them, you can customize the software environment by placing a php.ini file in the desired domain folder. In this way, you could enable or disable APC not only for a specific site without affecting the other Internet sites in the account, but also for a certain version of PHP since our platform supports multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application which is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes one click in the Hepsia Control Panel, but if needed, you can use the module just for specific Internet sites. This is possible on account of the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this particular site and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the account, so you could take advantage of APC for a lot of scripts where the module will make a difference and not for others where you may use some other kind of web accelerator.