APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites keep their content within a database which is accessed whenever a visitor opens a page. The content that needs to be displayed is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and require reading and writing on the server for each page that is opened. While this cannot be avoided for sites with constantly changing content material, there are a lot of sites that have the exact same content on a number of of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this type of websites as it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. This will not only minimize the server load, but it will also boost the speed of any Internet site many times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You'll be able to employ APC for your web applications with any of the cloud website hosting packages that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it will begin caching the program code of your applications. Our platform is really flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For instance, you'll be able to activate APC for a couple of versions of PHP for the whole account and pick the version that each site will use, or you could have the very same version of PHP, but enable or disable APC only for particular Internet sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for each and 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 created. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if necessary, you could use the module just for specific Internet sites. This is possible because of the versatility of our cloud platform - multiple versions 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 pick what version will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you can use another type of web accelerator.