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 in a database that is accessed whenever a visitor loads a page. The content that needs to be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and include reading and writing on the hosting server for every single page that is accessed. While this can't be avoided for sites with constantly changing content, there are various websites which have the very same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is quite useful for this type of websites as it caches the previously compiled code and displays it each time visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it will also increase the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Website Hosting

You can employ APC for your web applications with any of the website hosting plans that we provide since it's pre-installed on our cloud web hosting platform. Enabling it will take just a mouse click in the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will begin caching the code of your software apps. Our platform is rather flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and pick the version that each website will use, or you can have the exact same version of PHP, but enable or disable APC only for specific websites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application which runs on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes a click from the Hepsia Control Panel, but if needed, you can use the module only for particular websites. This is possible due to the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what version will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for your account, so you can take advantage of APC for many scripts where the module can make a difference and not for others where you can take advantage of another kind of web accelerator.