APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites hold their content within a database that is accessed whenever a visitor loads a webpage. The content that should be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions take some processing time and include reading and writing on the web server for each and every page that is accessed. While this can't be avoided for websites with constantly changing content, there are various websites that offer the same content on many of their webpages constantly - blogs, info portals, hotel and restaurant sites, etcetera. APC is extremely useful for such sites since it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code doesn't need 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 Hosting

You can use APC for your web applications with any of the hosting packages that we offer as it's pre-installed on our cloud web hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it will begin caching the code of your software apps. Our platform is rather flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For instance, you can activate APC for several versions of PHP for the entire account and pick the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC just for specific Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.