APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites hold their content in a database that is accessed whenever a visitor loads a webpage. The content which should be shown is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions take some processing time and require reading and writing on the hosting server for each page which is loaded. While this cannot be avoided for websites with constantly changing content material, there are various websites which present the same content on many of their pages constantly - blogs, info portals, hotel and restaurant websites, etcetera. APC is really useful for this kind of sites because it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this minimize the server load, but it will also increase the speed of any site a few times.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our next generation cloud platform, so you'll be able to use it for your applications regardless of the shared hosting plan that you pick when you register. The module can be enabled from the Hepsia web hosting Control Panel which is used to handle the shared accounts and only a couple of minutes later it'll speed up your Internet sites because it'll start caching their code. In case you want to run Internet sites with different system requirements or take advantage of different web accelerators for any of them, you will be able to customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not only for a particular site without affecting the remaining sites in the account, but also for a particular version of PHP as our platform is compatible with multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for each script application which runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click in the Hepsia Control Panel, but if needed, you can use the module only for certain Internet sites. This is possible because of the flexibility of our cloud platform - different versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file enables 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 will make a difference and not for others where you could employ a different type of web accelerator.