APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites hold their content in a database that is accessed whenever a visitor loads 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 server for every single page that is loaded. While this cannot be avoided for websites with constantly changing content, there are many sites which feature the same content on a number of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is really useful for this kind of sites because it caches the previously compiled code and displays it whenever visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. Not only will this minimize the server load, but it'll also boost the speed of any website several times.
APC (PHP Opcode Cache) in Cloud Hosting
You can employ APC for your web apps with any of the cloud hosting
plans that we offer because it's pre-installed on our cloud web hosting platform. Enabling it will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll start caching the program code of your software applications. Our platform is rather flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and set the version that each website will use, or you can have the same version of PHP, but activate or deactivate APC only for specific websites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that runs on your new semi-dedicated server
because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires one click inside the Hepsia Control Panel, but if needed, you could use the module only for specific websites. This is possible due to the flexibility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what release will be used for this specific site and whether APC has to be enabled or disabled. Using such a file permits you to use settings that are different from the ones for your account, so you will be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you can employ a different kind of web accelerator.