APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven site several times. Any time a PHP web page is opened, the script pulls the site content which should be displayed from a database, parses and compiles the code, and then the result is shown to the site visitor. While this is necessary for websites with routinely changing content, it's a complete waste of processing time and system resources for a website that does not change, like an informational portal that displays the same content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, the site will load a lot quicker. APC is very useful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to use APC for your web apps with any of the website hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Enabling it will take only a click inside the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it'll start caching the code of your apps. Our platform is really flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the entire account and choose the version that each site will use, or you could have the same version of PHP, but enable or disable APC just for particular websites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each and every script application that runs on your new semi-dedicated hosting 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 click in the Hepsia Control Panel, but if necessary, you can use the module just for particular sites. This is possible due to the versatility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can choose what version will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for the account, so you'll be able to take full advantage of APC for some scripts where the module will make a difference and not for others where you can use some other type of web accelerator.