APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. Every time a PHP webpage is accessed, the script pulls the website content that needs to be loaded from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a complete waste of processing time and resources for a website that doesn't change, such as an informational portal that displays identical content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them each time a visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load significantly faster. APC is very effective especially for scripts with larger source code.

APC (PHP Opcode Cache) in Web Hosting

You can employ APC for your web applications with any of the web hosting plans that we provide since it is pre-installed on our cloud web hosting platform. Turning it on will take only a click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll start caching the program code of your software apps. Our platform is extremely flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For instance, you could activate APC for a couple of releases of PHP for the entire account and choose the version that each site can use, or you could have the same version of PHP, but enable or disable APC just for particular sites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application which is run on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires one click from the Hepsia Control Panel, but if needed, you could use the module only for specific sites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can pick what release will be used for this particular site and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you can take full advantage of APC for some scripts where the module can make a difference and not for others where you can take advantage of another type of web accelerator.