APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven Internet site several times. Every time a PHP webpage is accessed, the script pulls the website content which should be loaded from a database, parses and compiles the program code, and the result is shown to the site visitor. While this is necessary for sites with frequently changing content, it is a complete waste of processing time and system resources for a site which doesn't change, for instance an informational portal that shows the exact same content at all times. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them any time a website visitor loads them. Since this saves the time to collect content from the database and to parse and compile the program code, the Internet site will load much quicker. APC is very useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our next generation cloud platform, which means that you can use it for your web applications regardless of the shared hosting package that you pick when you register. The module can be enabled through the Hepsia web hosting Control Panel which is used to control the shared accounts and just several minutes later it will boost your Internet sites as it'll start caching their program code. In case you would like to run sites with various system requirements or use specific web accelerators for any of them, you could customize the software environment by putting a php.ini file inside the preferred domain folder. In this way, you can enable or disable APC not only for a specific website without affecting the remaining Internet sites in the account, but also for a certain version of PHP since our platform is compatible with multiple versions simultaneously.

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 since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires one click from the Hepsia Control Panel, but if necessary, you could use the module only for certain websites. This is possible on account of the versatility of our cloud platform - several versions 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 site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you'll be able to take advantage of APC for a lot of scripts where the module makes a difference and not for others where you may take advantage of another kind of web accelerator.