APC, which stands for 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 page is accessed, the script pulls the content which needs to be shown from a database, parses and compiles the program code, and the result is displayed to the visitor. While this is necessary for websites with frequently changing content, it is a total waste of processing time and system resources for a website that doesn't change, for instance an informational portal which shows identical content all the time. Once the pages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly quicker. APC is really helpful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Shared Website Hosting

APC is pre-installed on our state-of-the-art cloud platform, which means that you'll be able to use it for your applications regardless of the shared website hosting solution that you choose when you sign up. The module can be activated from the Hepsia web hosting Control Panel that is used to manage the shared accounts and just a couple of minutes later it will speed up your Internet sites since it'll start caching their code. In case you wish to run sites with different system requirements or employ specific web accelerators for any of them, you could customize the software environment by placing a php.ini file inside the preferred domain folder. Thus, you could enable or disable APC not just for a particular Internet site without affecting the other websites in the account, but also for a certain version of PHP as our platform is compatible with multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for every single script application that is run on your new semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a click in the Hepsia Control Panel, but if needed, you could use the module just for specific Internet sites. This is possible because of the flexibility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can select what release will be used for this particular website and whether APC should 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'll be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you can employ another kind of web accelerator.