APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites keep their content inside a database which is accessed whenever a visitor loads a page. The content which should be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions need some processing time and include reading and writing on the hosting server for each and every page which is accessed. While this cannot be avoided for sites with regularly changing content, there are numerous websites that present the exact same content on many of their webpages all the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is exceptionally useful for such websites since it caches the already compiled code and shows it whenever visitors browse the cached webpages, so the code does not need to be parsed and compiled all over again. This will not only reduce the server load, but it'll also raise the speed of any website a few times.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC for your web apps with all of the shared hosting plans 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 which comes with our shared solutions and several minutes later it will begin caching the code of your applications. Our platform is extremely flexible, so you will be able to use different configurations based on the system requirements of the scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the entire account and specify the version that each Internet site will use, or you can have the very same version of PHP, but enable or disable APC only for specific sites. You can do this 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 Hosting
You can use APC for every single script application which runs on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if needed, you can use the module just for certain websites. This is possible on account of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific website and whether APC should be enabled or disabled. Employing such a file enables you to use settings which 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 could use a different type of web accelerator.