APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could speed up a database-driven Internet site several times. Each time a PHP webpage is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for websites with regularly changing content, it is a total waste of processing time and system resources for a website which doesn't change, for instance an informational portal that shows the exact same content at all times. When the web pages for such a website are compiled, APC caches them and delivers them any time a user accesses them. Since this saves the time to get content from the database and to parse and compile the code, the site will load a lot faster. APC is really helpful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is pre-installed on our leading-edge cloud platform, therefore you can use it for your web applications regardless of the cloud web hosting solution that you select when you sign up. The module can be enabled from the Hepsia hosting Control Panel which is used to take care of the shared accounts and only a couple of minutes later it will boost your websites as it'll start caching their code. In case you need to run sites with different system requirements or employ different web accelerators for any of them, you'll be able to customize the software environment by placing a php.ini file inside the preferred domain folder. In this way, you can enable or disable APC not only for a particular Internet site without affecting the other Internet sites in the account, but also for a particular version of PHP as our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for every single script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes a single click in the Hepsia Control Panel, but if needed, you could use the module just for specific sites. This is possible because of the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for your account, so you could take advantage of APC for many scripts where the module makes a difference and not for others where you may use a different kind of web accelerator.