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 inside a database that is accessed whenever a visitor opens a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the visitor. All these actions need some processing time and include reading and writing on the hosting server for each page that is accessed. While this can't be avoided for Internet sites with regularly changing content material, there're numerous sites that present the exact same content on a lot of of their pages all of the time - blogs, info portals, hotel and restaurant websites, and many others. APC is quite useful for this type of websites as it caches the previously compiled code and shows it every time visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. This will not only lower the server load, but it'll also boost the speed of any website a few times.
APC (PHP Opcode Cache) in Shared Hosting
You will be able to employ APC for your web applications with all of the shared hosting
plans that we offer because it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it will start caching the code of your software applications. Our platform is very 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 whole account and specify the version that each site will use, or you can have the exact same version of PHP, but enable or disable APC only for specific Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each script application that is run on your new semi-dedicated hosting
as 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 one click from the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible on account of the flexibility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can pick what release will be used for this particular website and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for the account, so you could take advantage of APC for some scripts where the module makes a difference and not for others where you could employ another kind of web accelerator.