APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP sites keep their content inside a database that is accessed whenever a visitor opens a webpage. The content which needs to be shown is gathered and the code is parsed and compiled before it is delivered to the site visitor. All of these actions need some processing time and involve reading and writing on the hosting server for each and every page which is accessed. While this cannot be avoided for Internet sites with regularly changing content, there're various Internet sites that have the exact same content on a number of of their webpages all the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this type of Internet sites as it caches the already compiled code and shows it each time visitors browse the cached pages, so the code doesn't have to be parsed and compiled again. Not only will this reduce the server load, but it'll also boost the speed of any Internet site many times.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web apps with all of the shared hosting packages that we offer since it is pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it'll start caching the code of your applications. Our platform is extremely flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you'll be able to activate APC for several releases of PHP for the entire account and choose the version that each site can use, or you can have the exact same version of PHP, but enable or disable APC only for specified sites. This is done by placing a php.ini file with a line of program 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 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 takes a click in the Hepsia Control Panel, but if needed, you can use the module just for particular sites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can choose what release will be used for this specific site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the standard ones for the account, so you could take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you may use a different type of web accelerator.