APC, which is an acronym 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. When a PHP web page is opened, the script pulls the content that has to be shown from a database, parses and compiles the program code, then 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 resources for an Internet site that doesn't change, for example an informational portal that shows the very same content at all times. As soon as the webpages for such an Internet site are compiled, APC caches them and delivers them each time a user loads them. As this saves the time to get content from the database and to parse and compile the code, the site will load a lot quicker. APC is very helpful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our leading-edge cloud platform, so you can use it for your web applications regardless of the shared hosting package that you pick when you register. The module can be activated from the Hepsia hosting Control Panel which is used to manage the shared accounts and just a few minutes later it'll speed up your Internet sites because it will start caching their program code. If you need to run websites with different system requirements or use different web accelerators for any of them, you could customize the software environment by putting a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not only for a particular website without affecting the remaining websites in the account, but also for a specific 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 created. Activating or deactivating APC for the account takes a single click in the Hepsia Control Panel, but if necessary, you could use the module only for particular Internet sites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this specific Internet site 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 your account, so you can take full advantage of APC for many scripts where the module will make a difference and not for others where you could take advantage of another type of web accelerator.