APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites hold their content inside a database which is accessed whenever a visitor opens a page. The content which has to be displayed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions take some processing time and require reading and writing on the web server for each page that is accessed. While this cannot be avoided for websites with regularly changing content, there're various websites that have the exact same content on a number of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this kind of sites as it caches the previously compiled code and shows it when visitors browse the cached pages, so the code does not have to be parsed and compiled again. This will not only minimize the server load, but it will also raise the speed of any website many times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You'll be able to use APC for your web apps with any of the cloud website hosting packages that we provide since it is pre-installed on our cloud website hosting platform. Enabling it will take only a click inside the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll start caching the code of your applications. Our platform is rather flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For example, you'll be able to activate APC for several releases of PHP for the whole account and choose the version that each Internet site can use, or you could have the same version of PHP, but enable or disable APC only for specified Internet sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you need the customized configuration.