APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven website several times. Every time a PHP web page is opened, the script pulls the website content which has to be displayed from a database, parses and compiles the program code, and the result is displayed to the site visitor. While this is necessary for websites with frequently changing content, it's a complete waste of processing time and system resources for an Internet site which doesn't change, such as an informational portal which shows the same content at all times. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor loads them. Since this saves the time to collect content from the database and to parse and compile the code, your website will load significantly quicker. APC is very efficient in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is pre-installed on our cutting-edge cloud platform, therefore you'll be able to use it for your applications whatever the shared web hosting package that you pick when you register. The module can be activated from the Hepsia hosting Control Panel that is used to handle the shared accounts and only a couple of minutes later it'll speed up your sites since it will start caching their code. If you wish to run Internet sites with different system requirements or employ specific web accelerators for some of them, you can customize the software environment by putting a php.ini file inside the preferred domain folder. In this way, you could enable or disable APC not just for a specific website without affecting the remaining Internet sites in the account, but also for a specific version of PHP as our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for each and every script application which is run on your new semi-dedicated server 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 one click in the Hepsia Control Panel, but if necessary, you can use the module only for particular 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 site folder, you can choose what version will be used for this specific Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the standard ones for your account, so you can take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you could employ another kind of web accelerator.